1Gtk2::Assistant(3) User Contributed Perl Documentation Gtk2::Assistant(3)
2
3
4
6 Gtk2::Assistant - wrapper for GtkAssistant
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Window
16 +----Gtk2::Assistant
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21
23 widget = Gtk2::Assistant->new
24 $assistant->add_action_widget ($child)
25 • $child (Gtk2::Widget)
26
27 integer = $assistant->append_page ($page)
28 • $page (Gtk2::Widget)
29
30 widget or undef = $assistant->get_apply_button
31 widget or undef = $assistant->get_back_button
32 widget or undef = $assistant->get_cancel_button
33 widget or undef = $assistant->get_close_button
34 $assistant->commit
35 Since: gtk+ 2.22
36
37 integer = $assistant->get_current_page
38 $assistant->set_current_page ($page_num)
39 • $page_num (integer)
40
41 widget or undef = $assistant->get_forward_button
42 $assistant->set_forward_page_func ($func, $data=undef)
43 • $func (scalar)
44
45 • $data (scalar)
46
47 integer = $assistant->insert_page ($page, $position)
48 • $page (Gtk2::Widget)
49
50 • $position (integer)
51
52 widget or undef = $assistant->get_last_button
53 integer = $assistant->get_n_pages
54 widget = $assistant->get_nth_page ($page_num)
55 • $page_num (integer)
56
57 boolean = $assistant->get_page_complete ($page)
58 • $page (Gtk2::Widget)
59
60 $assistant->set_page_complete ($page, $complete)
61 • $page (Gtk2::Widget)
62
63 • $complete (boolean)
64
65 pixbuf = $assistant->get_page_header_image ($page)
66 • $page (Gtk2::Widget)
67
68 $assistant->set_page_header_image ($page, $pixbuf)
69 • $page (Gtk2::Widget)
70
71 • $pixbuf (Gtk2::Gdk::Pixbuf)
72
73 pixbuf = $assistant->get_page_side_image ($page)
74 • $page (Gtk2::Widget)
75
76 $assistant->set_page_side_image ($page, $pixbuf)
77 • $page (Gtk2::Widget)
78
79 • $pixbuf (Gtk2::Gdk::Pixbuf)
80
81 string = $assistant->get_page_title ($page)
82 • $page (Gtk2::Widget)
83
84 $assistant->set_page_title ($page, $title)
85 • $page (Gtk2::Widget)
86
87 • $title (string)
88
89 assistantpagetype = $assistant->get_page_type ($page)
90 • $page (Gtk2::Widget)
91
92 $assistant->set_page_type ($page, $type)
93 • $page (Gtk2::Widget)
94
95 • $type (Gtk2::AssistantPageType)
96
97 integer = $assistant->prepend_page ($page)
98 • $page (Gtk2::Widget)
99
100 $assistant->remove_action_widget ($child)
101 • $child (Gtk2::Widget)
102
103 $assistant->update_buttons_state
105 'complete' (boolean : default false : readable / writable)
106 Whether all required fields on the page have been filled out
107
108 'header-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable
109 / private / static-nick / static-blurb)
110 Header image for the assistant page
111
112 'page-type' (Gtk2::AssistantPageType : default "content" : readable /
113 writable / private / static-nick / static-blurb)
114 The type of the assistant page
115
116 'sidebar-image' (Gtk2::Gdk::Pixbuf : default undef : readable /
117 writable / private / static-nick / static-blurb)
118 Sidebar image for the assistant page
119
120 'title' (string : default undef : readable / writable / private /
121 static-nick / static-blurb)
122 The title of the assistant page
123
125 'content-padding' (integer : default 1 : readable / private / static-
126 nick / static-blurb)
127 Number of pixels around the content pages.
128
129 'header-padding' (integer : default 6 : readable / private / static-
130 nick / static-blurb)
131 Number of pixels around the header.
132
134 apply (Gtk2::Assistant)
135 cancel (Gtk2::Assistant)
136 close (Gtk2::Assistant)
137 prepare (Gtk2::Assistant, Gtk2::Widget)
138
140 enum Gtk2::AssistantPageType
141 • 'content' / 'GTK_ASSISTANT_PAGE_CONTENT'
142
143 • 'intro' / 'GTK_ASSISTANT_PAGE_INTRO'
144
145 • 'confirm' / 'GTK_ASSISTANT_PAGE_CONFIRM'
146
147 • 'summary' / 'GTK_ASSISTANT_PAGE_SUMMARY'
148
149 • 'progress' / 'GTK_ASSISTANT_PAGE_PROGRESS'
150
152 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
153 Gtk2::Container, Gtk2::Bin, Gtk2::Window
154
156 Copyright (C) 2003-2011 by the gtk2-perl team.
157
158 This software is licensed under the LGPL. See Gtk2 for a full notice.
159
160
161
162perl v5.36.0 2022-07-22 Gtk2::Assistant(3)