Gtk2::HandleBox3pm
Wrapper for gtkhandlebox
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::HandleBox
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
Methods
widget = Gtk2::HandleBox->new
boolean = $handle_box->get_child_detached
positiontype = $handle_box->get_handle_position
$handle_box->set_handle_position ($position)
- •
-
$position(Gtk2::PositionType)
shadowtype = $handle_box->get_shadow_type
$handle_box->set_shadow_type ($type)
- •
-
$type(Gtk2::ShadowType)
positiontype = $handle_box->get_snap_edge
$handle_box->set_snap_edge ($edge)
- •
-
$edge(Gtk2::PositionType)
Properties
- 'child-detached' (boolean : default false : readable / private)
-
A boolean value indicating whether the handlebox's child is attached or detached.
- 'handle-position' (Gtk2::PositionType : default "left" : readable / writable / private)
-
Position of the handle relative to the child widget
- 'shadow' (Gtk2::ShadowType : default "out" : readable / writable / private)
-
Deprecated property, use shadow_type instead
- 'shadow-type' (Gtk2::ShadowType : default "out" : readable / writable / private)
-
Appearance of the shadow that surrounds the container
- 'snap-edge' (Gtk2::PositionType : default "top" : readable / writable / private)
-
Side of the handlebox that's lined up with the docking point to dock the handlebox
- 'snap-edge-set' (boolean : default false : readable / writable / private)
-
Whether to use the value from the snap_edge property or a value derived from handle_position
Signals
child-attached(Gtk2::HandleBox, Gtk2::Widget)
child-detached(Gtk2::HandleBox, Gtk2::Widget)
Enums and flags
enum Gtk2::PositionType
•
|
'left' / 'GTK_POS_LEFT' |
|---|---|
•
|
'right' / 'GTK_POS_RIGHT' |
•
|
'top' / 'GTK_POS_TOP' |
•
|
'bottom' / 'GTK_POS_BOTTOM' |
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' |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.