Gtk2::E...Notebook(3)

πŸ“¦
version 0.67 Β· 2 versions
, in fedora 43

πŸ’– 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 of Gtk2::Ex::FormFactory::Widget's [optional] β€” only widgets that have a title attribute may be added to a NoteBook. and since Gtk2::Ex::FormFactory::Container defines the title attribute, 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 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