Gtk2::Misc(3pm)

Gtk2::Misc3pm

Wrapper for gtkmisc

Hierarchy

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Misc

Interfaces

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

Methods

(xalign, yalign) = $misc->get_alignment

$misc->set_alignment ($xalign, $yalign)

•

$xalign (double)

•

$yalign (double)

(xpad, ypad) = $misc->get_padding

$misc->set_padding ($xpad, $ypad)

•

$xpad (integer)

•

$ypad (integer)

Properties

'xalign' (float : default 0.5 : readable / writable / private)

The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

'xpad' (integer : default 0 : readable / writable / private)

The amount of space to add on the left and right of the widget, in pixels

'yalign' (float : default 0.5 : readable / writable / private)

The vertical alignment, from 0 (top) to 1 (bottom)

'ypad' (integer : default 0 : readable / writable / private)

The amount of space to add on the top and bottom of the widget, in pixels

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.