Gtk2::Statusbar(3)
π 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::AtkImplementorIfaceGtk2::BuildableGtk2::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 : defaulttrue: 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:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::BoxGtk2::HBox
π COPYRIGHT π
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
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms