Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

layout::manager::axis(3pm) [debian man page]

Layout::Manager::Axis(3pm)				User Contributed Perl Documentation				Layout::Manager::Axis(3pm)

NAME
Layout::Manager::Axis - Compass-like resizing managers DESCRIPTION
Axis is very similar to Compass with one exception: Components added to the east and west consume space on the sides of of the north and south. Components at the north and south are resized when east and west components are added. +--------------------------------+ | x | north | x | +-----+--------------------+-----+ | | | | | w | | e | | e | center | a | | s | | s | | t | | t | | | | | +-----+--------------------+-----+ | x | south | x | +--------------------------------+ The x boxes above will effectively be dead-space. No components will occupy those areas. Why, you ask? Some components (such as axes on a chart, for which this manager is named) need to be the exact same hight or with as the center component. If the chart area is represented by the center area and an axis is positioned to the west, it needs to know how big the center is to accurately draw tick marks. SYNOPSIS
$cont->add_component($comp1, 'north'); $cont->add_component($comp2, 'east'); my $lm = Layout::Manager::Axis->new; $lm->do_layout($cont); POSITIONING
When you add a component with add_component the second argument should be one of: north, south, east, west or center. Case doesn't matter. You can also just provide the first letter of the word and it will do the same thing. METHODS
do_layout Size and position the components in this layout. AUTHOR
Cory Watson, "<gphat@cpan.org>" COPYRIGHT &; LICENSE Copyright 2008 - 2010 Cory G Watson This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.3 2011-05-16 Layout::Manager::Axis(3pm)

Check Out this Related Man Page

Gnome2::Canvas::Pixbuf(3pm)				User Contributed Perl Documentation			       Gnome2::Canvas::Pixbuf(3pm)

NAME
Gnome2::Canvas::Pixbuf - Pixbufs as CanvasItems HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gnome2::Canvas::Item +----Gnome2::Canvas::Pixbuf PROPERTIES
'anchor' (Gtk2::AnchorType : default "north-west" : readable / writable) 'height' (double : default 0 : readable / writable) 'height-in-pixels' (boolean : default false : readable / writable) 'height-set' (boolean : default false : readable / writable) 'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable) 'width' (double : default 0 : readable / writable) 'width-in-pixels' (boolean : default false : readable / writable) 'width-set' (boolean : default false : readable / writable) 'x' (double : default 0 : readable / writable) 'x-in-pixels' (boolean : default false : readable / writable) 'y' (double : default 0 : readable / writable) 'y-in-pixels' (boolean : default false : readable / writable) ENUMS AND FLAGS
enum Gtk2::AnchorType o 'center' / 'GTK_ANCHOR_CENTER' o 'north' / 'GTK_ANCHOR_NORTH' o 'north-west' / 'GTK_ANCHOR_NORTH_WEST' o 'north-east' / 'GTK_ANCHOR_NORTH_EAST' o 'south' / 'GTK_ANCHOR_SOUTH' o 'south-west' / 'GTK_ANCHOR_SOUTH_WEST' o 'south-east' / 'GTK_ANCHOR_SOUTH_EAST' o 'west' / 'GTK_ANCHOR_WEST' o 'east' / 'GTK_ANCHOR_EAST' o 'n' / 'GTK_ANCHOR_N' o 'nw' / 'GTK_ANCHOR_NW' o 'ne' / 'GTK_ANCHOR_NE' o 's' / 'GTK_ANCHOR_S' o 'sw' / 'GTK_ANCHOR_SW' o 'se' / 'GTK_ANCHOR_SE' o 'w' / 'GTK_ANCHOR_W' o 'e' / 'GTK_ANCHOR_E' SEE ALSO
Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gnome2::Canvas::Item COPYRIGHT
Copyright (C) 2003-2004 by the Gtk2-Perl Team. This software is licensed under the LGPL; see Gnome2::Canvas for a full notice. perl v5.14.2 2011-11-16 Gnome2::Canvas::Pixbuf(3pm)
Man Page