Rechercher une page de manuel
Gtk2::Misc.3pm
Langue: en
Version: 2009-03-13 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::MiscHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
METHODS
(xalign, yalign) = $misc->get_alignment
(xalign, yalign) = $misc->get_alignment
$misc->set_alignment ($xalign, $yalign)
$misc->set_alignment ($xalign, $yalign)
-
- •
- $xalign (double)
- •
- $yalign (double)
(xpad, ypad) = $misc->get_padding
(xpad, ypad) = $misc->get_padding
$misc->set_padding ($xpad, $ypad)
$misc->set_padding ($xpad, $ypad)
-
- •
- $xpad (integer)
- •
- $ypad (integer)
PROPERTIES
- 'xalign' (Glib::Float : readable / writable / private)
- The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
- 'xpad' (integer : readable / writable / private)
- The amount of space to add on the left and right of the widget, in pixels
- 'yalign' (Glib::Float : readable / writable / private)
- The vertical alignment, from 0 (top) to 1 (bottom)
- 'ypad' (integer : readable / writable / private)
- The amount of space to add on the top and bottom of the widget, in pixels
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::WidgetCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre