Gtk2::AspectFrame3pm
Wrapper for gtkaspectframe
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Frame+----Gtk2::AspectFrame
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
Methods
widget = Gtk2::AspectFrame->new ($label, $xalign, $yalign, $ratio, $obey_child)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
$aspect_frame->set_params ($xalign, $yalign, $ratio, $obey_child)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
Properties
'obey-child' (boolean : default true : readable / writable / private)
|
Force aspect ratio to match that of the frame's child |
|---|---|
'ratio' (float : default 1 : readable / writable / private)
|
Aspect ratio if obey_child is FALSE |
'xalign' (float : default 0.5 : readable / writable / private)
|
X alignment of the child |
'yalign' (float : default 0.5 : readable / writable / private)
|
Y alignment of the child |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.