Gtk2::Statusbar(3)

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

πŸ’– Gtk2::Statusbar β€” the vibe

okay bestie, so this page is from the User Contributed Perl Documentation for Gtk2::Statusbar, and it's literally just a wrapper for GtkStatusbar. that little bar at the bottom of a window that tells you what's up? yeah. her. πŸŽ€


✨ NAME ✨

Gtk2::Statusbar β€” wrapper for GtkStatusbar. no notes, that's the whole thing.


πŸ¦‹ HIERARCHY πŸ¦‹

the family tree, and yes she comes from a long line of icons. look at the lineage:

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Box
                         +----Gtk2::HBox
                              +----Gtk2::Statusbar

six generations deep and still slaying πŸ’…


🌸 INTERFACES 🌸

she also carries these vibes, iykyk:

  • Glib::Object::_Unregistered::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::Orientable

πŸ’… METHODS πŸ’…

widget = Gtk2::Statusbar->new

make a fresh one. brand new statusbar, main character energy, no cap.

integer = $statusbar->get_context_id ($context_description)

grab a context id for a description you hand her. she'll give you back an integer.

  • $context_description (string)

boolean = $statusbar->get_has_resize_grip

ask her: does she have a resize grip rn? returns a boolean.

$statusbar->set_has_resize_grip ($setting)

tell her whether she should have a resize grip.

  • $setting (boolean)

widget = $statusbar->get_message_area

get the message area widget. lowkey useful.

Since: gtk+ 2.20

$statusbar->pop ($context_id)

pop a message off the stack for that context. bye bestie πŸ‘‹

  • $context_id (integer)

integer = $statusbar->push ($context_id, $text)

push a new message onto the stack for a context, and she hands you back an integer. stacked, fr.

  • $context_id (integer)
  • $text (string)

$statusbar->remove ($context_id, $message_id)

yeet one specific message out of a specific context. you need both ids, no shortcuts.

  • $context_id (integer)
  • $message_id (integer)

$statusbar->remove_all ($context_id)

clear the whole stack for that context. clean slate, fresh start, iconic.

  • $context_id (integer)
Since: gtk+ 2.22

πŸŽ€ PROPERTIES πŸŽ€

  • 'has-resize-grip' (boolean : default true : readable / writable / private / static-nick / static-blurb) β€” Whether the statusbar has a grip for resizing the toplevel

🌈 STYLE PROPERTIES 🌈

  • 'shadow-type' (Gtk2::ShadowType : default "in" : readable / private / static-nick / static-blurb) β€” Style of bevel around the statusbar text

πŸ”₯ SIGNALS πŸ”₯

these are the moments she announces to the world:

  • text-popped (Gtk2::Statusbar, Glib::UInt, string)
  • text-pushed (Gtk2::Statusbar, Glib::UInt, string)

πŸ’œ SEE ALSO πŸ’œ

go read these next, bestie, they're all part of the same friend group:

  • Gtk2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Container
  • Gtk2::Box
  • Gtk2::HBox

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


and that's the whole page, periodt. πŸ’– this was documented by the perl gang β€” perl v5.42.0, dated 2025-07-25 β€” so yeah, shoutout to the Gtk2::Statusbar(3) era, she ate and left no crumbs 🫢✨

πŸ“¦ where this page comes from