Gnome2::AppBar(3)
π
Gnome2::AppBar β bestie, it's a wrapper for GnomeAppBar
okay so this is Gnome2::AppBar, and it lives in the User Contributed Perl Documentation corner of your man pages (section 3, obvi). It's a Perl wrapper around GnomeAppBar, and if you're like "what even is that", don't worry, we're getting there π
π HIERARCHY
so this is the family tree and it's long, she has ancestors, respect them:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::HBox
+----Gnome2::AppBar
she's the youngest, she's the baby of the box dynasty, and she inherited everything β¨
π INTERFACES
these are the vibes she's also giving, on top of being an AppBar:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Orientable
π¦ METHODS
β¨ widget = Gnome2::AppBar->new ($has_progress, $has_status, $interactivity)
the constructor, the origin story. she takes three things:
$has_progressβ a boolean$has_statusβ a boolean$interactivityβ aGnome2::PreferencesType
π $appbar->clear_prompt
clears the prompt. that's it. that's the whole thing. slay.
π $appbar->clear_stack
clears the stack. iconic, no notes.
π $appbar->set_default ($default_status)
$default_statusβ a string
sets the default status, bestie.
π $appbar->install_menu_hints ($uiinfo)
$uiinfoβ aGnome2::UIInfo
π $appbar->pop
pops. (the stack, not the vibes, though also maybe the vibes)
π progressbar = $appbar->get_progress
hands you the progress bar widget, go get her π
π $appbar->set_progress_percentage ($percentage)
$percentageβ a double
set it and watch that bar fill up, we love a glow-up πΈ
π $appbar->set_prompt ($prompt, $modal)
$promptβ a string$modalβ a boolean
π $appbar->push ($status)
$statusβ a string
π $appbar->refresh
refresh. take a breath, hydrate, come back cuter π
π string = $appbar->get_response
gives you back a string, the response, the tea β
π widget = $appbar->get_status
hands you the status widget.
π $appbar->set_status ($status)
$statusβ a string
π₯ PROPERTIES
'has-progress'(boolean : default false : readable / writable / construct) β create a progress widget. that's literally what the manpage says and honestly same.'has-status'(boolean : default false : readable / writable / construct) β create a status widget.'interactivity'(Gnome2::PreferencesType : default"never": readable / writable / construct) β level of user activity required.
β SIGNALS
clear-prompt(Gnome2::AppBar)user-response(Gnome2::AppBar)
she's emitting bestie, watch her go β¨
π ENUMS AND FLAGS
enum Gnome2::PreferencesType
'never'/GNOME_PREFERENCES_NEVER'user'/GNOME_PREFERENCES_USER'always'/GNOME_PREFERENCES_ALWAYS
three options, pick your fighter π
π SEE ALSO
go read these too, they're the friend group:
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox
π COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
ngl that's the whole page, you ate it, no crumbs left πβ¨
okay that's a wrap bestie π«Ά this was served up by perl v5.42.0, dated 2025-07-25, page Gnome2::AppBar(3). go forth and build ur little status bars, main character πππ¦
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms