Gnome2:...ockItem(3)
π Gnome2::Bonobo::DockItem π
okay bestie, welcome to the Gnome2:...ockItem(3) page β yes that's the real title, it's giving "the terminal cut it off mid-word" energy and honestly? iconic. it lives in the User Contributed Perl Documentation section, and we're gonna go through the whole thing together, no skips, no cap. π«Ά
β¨ NAME β¨
Gnome2::Bonobo::DockItem β it's a wrapper for BonoboDockItem, periodt. π
πΈ HIERARCHY πΈ
so here's the family tree, and yes it's a whole ancestry.com situation:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gnome2::Bonobo::DockItem
look at all those ancestors. main character inherited literally everything. π
π¦ INTERFACES π¦
these are the vibes it carries with it:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
π METHODS π
okay here's where the actual doing happens, let's go:
widget = Gnome2::Bonobo::DockItem->new ($name, $behavior)
makes you a shiny new one. it takes:
$name(string)$behavior(Gnome2::Bonobo::DockItemBehavior)
dockitembehavior = $dock_item->get_behavior
hands you back the behavior. no arguments, just vibes.
widget = $dock_item->get_child
gives you the child widget. π
string = $dock_item->get_name
returns the name, as a string. simple. clean. slay.
orientation = $dock_item->get_orientation
tells you which way it's facing.
boolean = $dock_item->set_orientation ($orientation)
sets the orientation, returns a boolean. it takes:
$orientation(Gtk2::Orientation)
shadowtype = $dock_item->get_shadow_type
get that shadow type, bestie.
$dock_item->set_shadow_type ($type)
set the shadow type. it takes:
$type(Gtk2::ShadowType)
π PROPERTIES π
these are the properties, with their types, defaults and whether you can read/write them:
'orientation'(Gtk2::Orientation: default"horizontal": readable / writable) β Orientation'preferred-height'(Glib::UInt: default0: readable) β Preferred height'preferred-width'(Glib::UInt: default0: readable) β Preferred width'shadow'(Gtk2::ShadowType: default"out": readable / writable) β Shadow type
π₯ SIGNALS π₯
the signals it emits, in all their glory:
dock-detach(Gnome2::Bonobo::DockItem)dock-drag-begin(Gnome2::Bonobo::DockItem)dock-drag-end(Gnome2::Bonobo::DockItem)dock-drag-motion(Gnome2::Bonobo::DockItem,integer,integer)orientation-changed(Gnome2::Bonobo::DockItem,Gtk2::Orientation)
π ENUMS AND FLAGS π
flags Gnome2::Bonobo::DockItemBehavior
'normal'/BONOBO_DOCK_ITEM_BEH_NORMAL'exclusive'/BONOBO_DOCK_ITEM_BEH_EXCLUSIVE'never-floating'/BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING'never-vertical'/BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL'never-horizontal'/BONOBO_DOCK_ITEM_BEH_NEVER_HORIZONTAL'locked'/BONOBO_DOCK_ITEM_BEH_LOCKED
enum Gtk2::Orientation
'horizontal'/GTK_ORIENTATION_HORIZONTAL'vertical'/GTK_ORIENTATION_VERTICAL
enum Gtk2::ShadowType
'none'/GTK_SHADOW_NONE'in'/GTK_SHADOW_IN'out'/GTK_SHADOW_OUT'etched-in'/GTK_SHADOW_ETCHED_IN'etched-out'/GTK_SHADOW_ETCHED_OUT
π SEE ALSO π
go read these too, iykyk:
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin
π COPYRIGHT π
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
ok that's the whole page, you read every single line like a good bestie, i'm so proud of you π₯Ή
and that's a wrap! this was perl v5.42.0, dated 2025-07-25 β mwah, go forth and dock responsibly πβ¨ππ¦
π¦ 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