1Gtk2::Table(3) User Contributed Perl Documentation Gtk2::Table(3)
2
3
4
6 Gtk2::Table
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Table
15
17 Glib::Object::_Unregistered::AtkImplementorIface
18
20 widget = Gtk2::Table->new ($rows, $columns, $homogeneous=FALSE)
21
22 * $rows (integer)
23 * $columns (integer)
24 * $homogeneous (boolean)
25
26 $table->attach ($child, $left_attach, $right_attach, $top_attach, $bot‐
27 tom_attach, $xoptions, $yoptions, $xpadding, $ypadding)
28
29 * $child (Gtk2::Widget)
30 * $left_attach (integer)
31 * $right_attach (integer)
32 * $top_attach (integer)
33 * $bottom_attach (integer)
34 * $xoptions (Gtk2::AttachOptions)
35 * $yoptions (Gtk2::AttachOptions)
36 * $xpadding (integer)
37 * $ypadding (integer)
38
39 $table->attach_defaults ($widget, $left_attach, $right_attach,
40 $top_attach, $bottom_attach)
41
42 * $widget (Gtk2::Widget)
43 * $left_attach (integer)
44 * $right_attach (integer)
45 * $top_attach (integer)
46 * $bottom_attach (integer)
47
48 integer = $table->get_col_spacing ($column)
49
50 * $column (integer)
51
52 $table->set_col_spacing ($column, $spacing)
53
54 * $column (integer)
55 * $spacing (integer)
56
57 $table->set_col_spacings ($spacing)
58
59 * $spacing (integer)
60
61 integer = $table->get_default_col_spacing
62
63 integer = $table->get_default_row_spacing
64
65 boolean = $table->get_homogeneous
66
67 $table->set_homogeneous ($homogeneous)
68
69 * $homogeneous (boolean)
70
71 $table->resize ($rows, $columns)
72
73 * $rows (integer)
74 * $columns (integer)
75
76 integer = $table->get_row_spacing ($row)
77
78 * $row (integer)
79
80 $table->set_row_spacing ($row, $spacing)
81
82 * $row (integer)
83 * $spacing (integer)
84
85 $table->set_row_spacings ($spacing)
86
87 * $spacing (integer)
88
90 'column-spacing' (Glib::UInt : readable / writable / private)
91 The amount of space between two consecutive columns
92
93 'homogeneous' (boolean : readable / writable / private)
94 If TRUE, the table cells are all the same width/height
95
96 'n-columns' (Glib::UInt : readable / writable / private)
97 The number of columns in the table
98
99 'n-rows' (Glib::UInt : readable / writable / private)
100 The number of rows in the table
101
102 'row-spacing' (Glib::UInt : readable / writable / private)
103 The amount of space between two consecutive rows
104
106 flags Gtk2::AttachOptions
107
108 * 'expand' / 'GTK_EXPAND'
109 * 'shrink' / 'GTK_SHRINK'
110 * 'fill' / 'GTK_FILL'
111
113 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
114 Gtk2::Container
115
117 Copyright (C) 2003-2007 by the gtk2-perl team.
118
119 This software is licensed under the LGPL. See Gtk2 for a full notice.
120
121
122
123perl v5.8.8 2007-03-18 Gtk2::Table(3)