Gtk2::E...Notebook(3)
π Gtk2::E...Notebook π
okay bestie, welcome to the Gtk2::E...Notebook(3) page, from the User Contributed Perl Documentation era of the internet π«Ά it's a manual page, it's a vibe, and it's lowkey about notebooks. slay.
β¨ NAME β¨
Gtk2::Ex::FormFactory::Notebook β it's a Notebook, but make it a FormFactory framework moment π
πΈ SYNOPSIS πΈ
the way you summon one of these is literally just:
Gtk2::Ex::FormFactory::Notebook->new (
...
Gtk2::Ex::FormFactory::Container attributes
Gtk2::Ex::FormFactory::Widget attributes
);
that's it. that's the whole incantation. no cap π
π¦ DESCRIPTION π¦
okay so this class implements a Notebook inside a Gtk2::Ex::FormFactory framework, periodt.
and here's the cute part: the number of the notebook page that's actually selected is controlled by the value of the associated application object attribute. so like, your data drives the tabs. main character energy fr fr π
π OBJECT HIERARCHY π
here's the family tree, bestie, look how it trickles down:
Gtk2::Ex::FormFactory::Intro
Gtk2::Ex::FormFactory::Widget
+--- Gtk2::Ex::FormFactory::Container
+--- Gtk2::Ex::FormFactory::Notebook
Gtk2::Ex::FormFactory::Layout
Gtk2::Ex::FormFactory::Rules
Gtk2::Ex::FormFactory::Context
Gtk2::Ex::FormFactory::Proxy
Notebook is a Container is a Widget, iykyk π
π ATTRIBUTES π
ngl, this module has no additional attributes over the ones it inherits from Gtk2::Ex::FormFactory::Container. but!! some special notes apply, so don't skip this part:
content= ARRAYREF ofGtk2::Ex::FormFactory::Widget's [optional] β only widgets that have atitleattribute may be added to a NoteBook. and sinceGtk2::Ex::FormFactory::Containerdefines thetitleattribute, that means every container can be turned into a notebook page π iconic.- the widget title will automatically render to the title of the page, resp as the text appearing on the page's tab. so your title is doing double duty and honestly? she's thriving β¨
- you can add an icon to the Notebook tab by prefixing the widget title with a stock item name in square brackets, like this exact thing right here:
title => "[gtk-cdrom] CDROM Contents",
look at that lil [gtk-cdrom] doing the absolute most π
for more attributes, go refer to Gtk2::Ex::FormFactory::Container β she's the one holding all the receipts.
π₯Ί AUTHORS π₯Ί
JΓΆrn Reder <joern at zyn dot de>
(one author, one legend, we love to see it π«Ά)
π COPYRIGHT AND LICENSE π
Copyright 2004-2006 by JΓΆrn Reder.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
bestie, that warranty disclaimer is not a drill β it is literally in all caps and it means it. π¨
π POD ERRORS π
hey! the above document had some coding errors, which are explained below:
around line 110:
Non-ASCII character seen before =encoding in 'JΓΆrn'. Assuming UTF-8
not the ΓΆ coming in and causing chaos before the =encoding line π assuming UTF-8 and moving on, we've all been there.
okay that's the whole page!! tysm for reading, go build a notebook, you're gonna ate π β¨
sign-off time: this was perl v5.42.0, dated 2025-07-25, and the page is Gtk2::E...Notebook(3) π byeeee π¦πΈπ
π¦ where this page comes from
- fedora 43: perl-Gtk2-Ex-FormFactory 0.67-39.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms