Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
Layout::Manager::Grid - Simple grid-based layout manager. DESCRIPTION
Layout::Manager::Grid is a layout manager places components into evenly divided cells. When you instantiate a Grid manager, you must supply it with a count of how many rows and columns it will have. For example, a Grid with 1 column and 2 rows would look like: +--------------------------------+ | | | component 1 | | | +--------------------------------+ | | | component 2 | | | +--------------------------------+ The container is divided into as many <rows> * <columns> cells, with each taking up an equal amount of space. A grid with 3 columns and 2 rows would create 6 cells that consume 33% of the width and 50% of the height. Components are placed by specifying the cell they reside in via the row and column number. $container->add_component($comp, { row => 0, column => 3 }); $container->add_component($comp, { row => 0, column => 2, height => 2 }); Optionally, you may choose to override the default "width" or "height" of 1. Setting it to a something else will cause the component to consume that many rows or columns worth of space. Grid is similar to Java's GridLayout <http://java.sun.com/docs/books/tutorial/uiswing/layout/grid.html>. SYNOPSIS
$cont->add_component($comp1, { row => 0, column => 1 }); $cont->add_component($comp2, { row => 0, column => 2 }); my $lm = Layout::Manager::Grid->new(rows => 1, columns => 2); $lm->do_layout($con); DYNAMIC SIZING If the container that the Grid is manging does not have one or both of it's dimensions set, Grid will compute the appropriate sizes. The simple way for me to avoid writing a long explanation is to say it works similar to HTML tables. Rows will become as big as their biggest consituent, as will columns. It is common to add a Grid-managed component to a scene with only one of it's dimensions set. ATTRIBUTES
columns The number of columns in this Grid. rows The number of rows in this Grid. 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::Grid(3pm)

Check Out this Related Man Page

GLOBUS-K5(8)							  Globus Toolkit						      GLOBUS-K5(8)

NAME
globus-k5 - Acquire Kerberos Credentials for use with Grid Services SYNOPSIS
globus-k5 SERVICE-COMMAND [SERVICE-ARGS...] DESCRIPTION
The globus-k5 program is an authorization module used by the globus-gatekeeper program to acquire Kerberos 5 Credentials prior to executing a Grid Service. This may be accomplished by running kinit with a password stored in the globuskmap file, using the NCSA krb525 command, or the sslk5 command to use the X509 user proxy. The arguments passed to globus-k5 will not be used by it, but will be passed onto the job manager. The first parameter must be the path to the Grid Service. It is expected that the environment will contain the variables GLOBUSID and USER for the Grid and local POSIX user identities. This program is normally run as root, and will call seteuid() prior to executing the Grid Service. The parameters to use and the mapping for the globus to K5 user are located in the globuskmap file. FORMAT OF THE GLOBUSKMAP FILE
The globuskmap file is a line-oriented file which each line containing a command to run to acquire Kerberos 5 credentials for a Grid identity. Each line consists of an optionally-quoted GLOBUSID value followed by a command-line for running a process to acquire a Kerberos credential. For example: "/O=Example/OU=Grid/CN=Joe User" /usr/afsws/bin/klog -principal juser -password mypasswd -cell infn.it ENVIRONMENT
If the following variables affect the execution of globus-k5: GLOBUSKMAP Path to the globuskmap file. USER POSIX username that the service will run as. KRB5CCNAME Path to a Kerberos credential cache. GLOBUS_ID Grid identity to generate Kerberos credentials for. FILES
/etc/globuskmap Default file mapping Grid identities to Kerberos 5 principals. SEE ALSO
globus-k5(8), globus-job-manager(8) University of Chicago 01/06/2012 GLOBUS-K5(8)
Man Page