Gtk2::S...ToolItem(3)

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

πŸ’– Gtk2::S...ToolItem(3) πŸ’–

okay bestie, welcome to the Gtk2::S...ToolItem page from the User Contributed Perl Documentation bestie archives 🫢 this is the whole thing, no skips, no skimming, we're reading it together like it's a group chat at 2am πŸ’…


✨ NAME ✨

Gtk2::SeparatorToolItem β€” it's a wrapper for GtkSeparatorToolItem, that's the whole vibe πŸŽ€


🌸 HIERARCHY 🌸

ok so the family tree is giving legacy, look at all these ancestors:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ToolItem
                                +----Gtk2::SeparatorToolItem

every single one of them is in the lineage, no cap πŸ‘‘


πŸ¦‹ INTERFACES πŸ¦‹

it's also carrying these interfaces around like accessories:

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Activatable

πŸ’… METHODS πŸ’…

⭐ toolitem = Gtk2::SeparatorToolItem->new

you make a new one, that's it, that's the constructor, slay πŸŽ€

⭐ boolean = $item->get_draw

asks the item whether it's drawing itself or not, returns a boolean, iconic ✨

⭐ $tool_item->set_draw ($draw)

sets the draw-ness, and it takes:

  • $draw (boolean) β€” a true/false situation, bestie

πŸ‘‘ PROPERTIES πŸ‘‘

  • 'draw' (boolean : default true : readable / writable / private / static-nick / static-blurb) β€” Whether the separator is drawn, or just blank ✨ so like... is it visible or is it just an empty little ghost πŸ‘» default is true, so it's drawn unless you say otherwise

🌈 SEE ALSO 🌈

go read these too, they're all linked up fr fr:

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem 🫢


Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.

periodt πŸ’… that's the legal bit, and yes you have to read it, the LGPL said so


and that's the whole page, bestie!! you ate πŸ“ this was perl v5.42.0, dated 2025-07-25, and it lives at Gtk2::S...ToolItem(3) β€” mwah, go build something cute πŸ§šπŸ’œ

πŸ“¦ where this page comes from