1Gtk2::Table(3)        User Contributed Perl Documentation       Gtk2::Table(3)
2
3
4

NAME

6       Gtk2::Table
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Table
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18         Gtk2::Buildable
19

METHODS

21   widget = Gtk2::Table->new ($rows, $columns, $homogeneous=FALSE)
22           ·   $rows (integer)
23
24           ·   $columns (integer)
25
26           ·   $homogeneous (boolean)
27
28   $table->attach ($child, $left_attach, $right_attach, $top_attach,
29       $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)
30           ·   $child (Gtk2::Widget)
31
32           ·   $left_attach (integer)
33
34           ·   $right_attach (integer)
35
36           ·   $top_attach (integer)
37
38           ·   $bottom_attach (integer)
39
40           ·   $xoptions (Gtk2::AttachOptions)
41
42           ·   $yoptions (Gtk2::AttachOptions)
43
44           ·   $xpadding (integer)
45
46           ·   $ypadding (integer)
47
48   $table->attach_defaults ($widget, $left_attach, $right_attach, $top_attach,
49       $bottom_attach)
50           ·   $widget (Gtk2::Widget)
51
52           ·   $left_attach (integer)
53
54           ·   $right_attach (integer)
55
56           ·   $top_attach (integer)
57
58           ·   $bottom_attach (integer)
59
60   integer = $table->get_col_spacing ($column)
61           ·   $column (integer)
62
63   $table->set_col_spacing ($column, $spacing)
64           ·   $column (integer)
65
66           ·   $spacing (integer)
67
68   $table->set_col_spacings ($spacing)
69           ·   $spacing (integer)
70
71   integer = $table->get_default_col_spacing
72   integer = $table->get_default_row_spacing
73   boolean = $table->get_homogeneous
74   $table->set_homogeneous ($homogeneous)
75           ·   $homogeneous (boolean)
76
77   $table->resize ($rows, $columns)
78           ·   $rows (integer)
79
80           ·   $columns (integer)
81
82   integer = $table->get_row_spacing ($row)
83           ·   $row (integer)
84
85   $table->set_row_spacing ($row, $spacing)
86           ·   $row (integer)
87
88           ·   $spacing (integer)
89
90   $table->set_row_spacings ($spacing)
91           ·   $spacing (integer)
92

PROPERTIES

94       'column-spacing' (Glib::UInt : readable / writable / private)
95           The amount of space between two consecutive columns
96
97       'homogeneous' (boolean : readable / writable / private)
98           If TRUE, the table cells are all the same width/height
99
100       'n-columns' (Glib::UInt : readable / writable / private)
101           The number of columns in the table
102
103       'n-rows' (Glib::UInt : readable / writable / private)
104           The number of rows in the table
105
106       'row-spacing' (Glib::UInt : readable / writable / private)
107           The amount of space between two consecutive rows
108

ENUMS AND FLAGS

110   flags Gtk2::AttachOptions
111       ·   'expand' / 'GTK_EXPAND'
112
113       ·   'shrink' / 'GTK_SHRINK'
114
115       ·   'fill' / 'GTK_FILL'
116

SEE ALSO

118       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
119       Gtk2::Container
120
122       Copyright (C) 2003-2008 by the gtk2-perl team.
123
124       This software is licensed under the LGPL.  See Gtk2 for a full notice.
125
126
127
128perl v5.12.0                      2010-05-02                    Gtk2::Table(3)
Impressum