|
NAMEGtk2::Ex::FormFactory::CheckButtonGroup - A group of checkbuttonsSYNOPSISGtk2::Ex::FormFactory::CheckButtonGroup->new ( max_columns => Maximum number of columns, max_rows => Maximum number of rows, column_labels => Array of column label strings, row_labels => Array of row label strings, attr_max_columns => Object attribute for number of columns, attr_max_rows => Object attribute for number of rows, attr_column_labels => Object attribute for column labels, attr_row_labels => Object attribute for row labels, homogeneous => Force homogeneous layout of underlying table? ... Gtk2::Ex::FormFactory::Widget attributes ); DESCRIPTIONThis class implements a group of check buttons which allow a multiple selection out of a set from predefined values. It's arranged in a two dimensional table. You can specify either the maximum number of rows or columns, the actual dimensions are calculated automatically.Optionally you can add column and/or row labels, extending the corresponding table accordingly. You can pass the configuration data statically or specify application object attributes controlling them, so the checkbutton group builds dynamically at runtime. The value of a CheckBoxGroup is a hash. The value of each selected checkbox will result in a correspondent hash key with a true value assigned. OBJECT HIERARCHYGtk2::Ex::FormFactory::Intro Gtk2::Ex::FormFactory::Widget +--- Gtk2::Ex::FormFactory::CheckButtonGroup Gtk2::Ex::FormFactory::Layout Gtk2::Ex::FormFactory::Rules Gtk2::Ex::FormFactory::Context Gtk2::Ex::FormFactory::Proxy ATTRIBUTESAttributes are handled through the common get_ATTR(), set_ATTR() style accessors, but they are mostly passed once to the object constructor and must not be altered after the associated FormFactory was built.
REQUIREMENTS FOR ASSOCIATED APPLICATION OBJECTSApplication objects represented by a Gtk2::Ex::FormFactory::CheckButtonGroup must define additional methods. The naming of the methods listed beyond uses the standard get_ prefix for the attribute read accessor. ATTR needs to be replaced by the actual name of the attribute associated with the widget.
For more attributes refer to Gtk2::Ex::FormFactory::Widget. AUTHORSJörn Reder <joern at zyn dot de> COPYRIGHT AND LICENSECopyright 2004-2006 by Jörn Reder.This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |