.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Table 3" .TH Gtk2::Table 3 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Table \- wrapper for GtkTable .SH HIERARCHY .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Table .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "widget = Gtk2::Table\->\fBnew\fP ($rows, $columns, $homogeneous=FALSE)" .el .SS "widget = Gtk2::Table\->\fBnew\fP ($rows, \f(CW$columns\fP, \f(CW$homogeneous\fP=FALSE)" .IX Subsection "widget = Gtk2::Table->new ($rows, $columns, $homogeneous=FALSE)" .IP \(bu 4 \&\f(CW$rows\fR (integer) .IP \(bu 4 \&\f(CW$columns\fR (integer) .IP \(bu 4 \&\f(CW$homogeneous\fR (boolean) .ie n .SS "$table\->\fBattach\fP ($child, $left_attach, $right_attach, $top_attach, $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)" .el .SS "\f(CW$table\fP\->\fBattach\fP ($child, \f(CW$left_attach\fP, \f(CW$right_attach\fP, \f(CW$top_attach\fP, \f(CW$bottom_attach\fP, \f(CW$xoptions\fP, \f(CW$yoptions\fP, \f(CW$xpadding\fP, \f(CW$ypadding\fP)" .IX Subsection "$table->attach ($child, $left_attach, $right_attach, $top_attach, $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$left_attach\fR (integer) .IP \(bu 4 \&\f(CW$right_attach\fR (integer) .IP \(bu 4 \&\f(CW$top_attach\fR (integer) .IP \(bu 4 \&\f(CW$bottom_attach\fR (integer) .IP \(bu 4 \&\f(CW$xoptions\fR (Gtk2::AttachOptions) .IP \(bu 4 \&\f(CW$yoptions\fR (Gtk2::AttachOptions) .IP \(bu 4 \&\f(CW$xpadding\fR (integer) .IP \(bu 4 \&\f(CW$ypadding\fR (integer) .ie n .SS "$table\->\fBattach_defaults\fP ($widget, $left_attach, $right_attach, $top_attach, $bottom_attach)" .el .SS "\f(CW$table\fP\->\fBattach_defaults\fP ($widget, \f(CW$left_attach\fP, \f(CW$right_attach\fP, \f(CW$top_attach\fP, \f(CW$bottom_attach\fP)" .IX Subsection "$table->attach_defaults ($widget, $left_attach, $right_attach, $top_attach, $bottom_attach)" .IP \(bu 4 \&\f(CW$widget\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$left_attach\fR (integer) .IP \(bu 4 \&\f(CW$right_attach\fR (integer) .IP \(bu 4 \&\f(CW$top_attach\fR (integer) .IP \(bu 4 \&\f(CW$bottom_attach\fR (integer) .ie n .SS "integer = $table\->\fBget_col_spacing\fP ($column)" .el .SS "integer = \f(CW$table\fP\->\fBget_col_spacing\fP ($column)" .IX Subsection "integer = $table->get_col_spacing ($column)" .IP \(bu 4 \&\f(CW$column\fR (integer) .ie n .SS "$table\->\fBset_col_spacing\fP ($column, $spacing)" .el .SS "\f(CW$table\fP\->\fBset_col_spacing\fP ($column, \f(CW$spacing\fP)" .IX Subsection "$table->set_col_spacing ($column, $spacing)" .IP \(bu 4 \&\f(CW$column\fR (integer) .IP \(bu 4 \&\f(CW$spacing\fR (integer) .ie n .SS "$table\->\fBset_col_spacings\fP ($spacing)" .el .SS "\f(CW$table\fP\->\fBset_col_spacings\fP ($spacing)" .IX Subsection "$table->set_col_spacings ($spacing)" .IP \(bu 4 \&\f(CW$spacing\fR (integer) .ie n .SS "integer = $table\->\fBget_default_col_spacing\fP" .el .SS "integer = \f(CW$table\fP\->\fBget_default_col_spacing\fP" .IX Subsection "integer = $table->get_default_col_spacing" .ie n .SS "integer = $table\->\fBget_default_row_spacing\fP" .el .SS "integer = \f(CW$table\fP\->\fBget_default_row_spacing\fP" .IX Subsection "integer = $table->get_default_row_spacing" .ie n .SS "boolean = $table\->\fBget_homogeneous\fP" .el .SS "boolean = \f(CW$table\fP\->\fBget_homogeneous\fP" .IX Subsection "boolean = $table->get_homogeneous" .ie n .SS "$table\->\fBset_homogeneous\fP ($homogeneous)" .el .SS "\f(CW$table\fP\->\fBset_homogeneous\fP ($homogeneous)" .IX Subsection "$table->set_homogeneous ($homogeneous)" .IP \(bu 4 \&\f(CW$homogeneous\fR (boolean) .ie n .SS "$table\->\fBresize\fP ($rows, $columns)" .el .SS "\f(CW$table\fP\->\fBresize\fP ($rows, \f(CW$columns\fP)" .IX Subsection "$table->resize ($rows, $columns)" .IP \(bu 4 \&\f(CW$rows\fR (integer) .IP \(bu 4 \&\f(CW$columns\fR (integer) .ie n .SS "integer = $table\->\fBget_row_spacing\fP ($row)" .el .SS "integer = \f(CW$table\fP\->\fBget_row_spacing\fP ($row)" .IX Subsection "integer = $table->get_row_spacing ($row)" .IP \(bu 4 \&\f(CW$row\fR (integer) .ie n .SS "$table\->\fBset_row_spacing\fP ($row, $spacing)" .el .SS "\f(CW$table\fP\->\fBset_row_spacing\fP ($row, \f(CW$spacing\fP)" .IX Subsection "$table->set_row_spacing ($row, $spacing)" .IP \(bu 4 \&\f(CW$row\fR (integer) .IP \(bu 4 \&\f(CW$spacing\fR (integer) .ie n .SS "$table\->\fBset_row_spacings\fP ($spacing)" .el .SS "\f(CW$table\fP\->\fBset_row_spacings\fP ($spacing)" .IX Subsection "$table->set_row_spacings ($spacing)" .IP \(bu 4 \&\f(CW$spacing\fR (integer) .ie n .SS "(rows, columns) = $table\->\fBget_size\fP" .el .SS "(rows, columns) = \f(CW$table\fP\->\fBget_size\fP" .IX Subsection "(rows, columns) = $table->get_size" Since: gtk+ 2.22 .SH PROPERTIES .IX Header "PROPERTIES" .IP "'column\-spacing' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'column-spacing' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" The amount of space between two consecutive columns .IP "'homogeneous' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'homogeneous' (boolean : default false : readable / writable / private / static-nick / static-blurb)" If TRUE, the table cells are all the same width/height .IP "'n\-columns' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'n-columns' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" The number of columns in the table .IP "'n\-rows' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'n-rows' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" The number of rows in the table .IP "'row\-spacing' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'row-spacing' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" The amount of space between two consecutive rows .SH "CHILD PROPERTIES" .IX Header "CHILD PROPERTIES" .IP "'bottom\-attach' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'bottom-attach' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" The row number to attach the bottom of the child to .IP "'left\-attach' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'left-attach' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" The column number to attach the left side of the child to .IP "'right\-attach' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'right-attach' (Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb)" The column number to attach the right side of a child widget to .IP "'top\-attach' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'top-attach' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" The row number to attach the top of a child widget to .IP "'x\-options' (Gtk2::AttachOptions : default expand,fill : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'x-options' (Gtk2::AttachOptions : default expand,fill : readable / writable / private / static-nick / static-blurb)" Options specifying the horizontal behaviour of the child .IP "'x\-padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'x-padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" Extra space to put between the child and its left and right neighbors, in pixels .IP "'y\-options' (Gtk2::AttachOptions : default expand,fill : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'y-options' (Gtk2::AttachOptions : default expand,fill : readable / writable / private / static-nick / static-blurb)" Options specifying the vertical behaviour of the child .IP "'y\-padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'y-padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" Extra space to put between the child and its upper and lower neighbors, in pixels .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::AttachOptions" .IX Subsection "flags Gtk2::AttachOptions" .IP \(bu 4 \&'expand' / 'GTK_EXPAND' .IP \(bu 4 \&'shrink' / 'GTK_SHRINK' .IP \(bu 4 \&'fill' / 'GTK_FILL' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.