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

NAME

6       Gtk2::Assistant - wrapper for GtkAssistant
7

HIERARCHY

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

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21

METHODS

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

CHILD PROPERTIES

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)
110           Header image for the assistant page
111
112       'page-type' (Gtk2::AssistantPageType : default "content" : readable /
113       writable / private)
114           The type of the assistant page
115
116       'sidebar-image' (Gtk2::Gdk::Pixbuf : default undef : readable /
117       writable / private)
118           Sidebar image for the assistant page
119
120       'title' (string : default undef : readable / writable / private)
121           The title of the assistant page
122

STYLE PROPERTIES

124       'content-padding' (integer : default 1 : readable / private)
125           Number of pixels around the content pages.
126
127       'header-padding' (integer : default 6 : readable / private)
128           Number of pixels around the header.
129

SIGNALS

131       apply (Gtk2::Assistant)
132       cancel (Gtk2::Assistant)
133       close (Gtk2::Assistant)
134       prepare (Gtk2::Assistant, Gtk2::Widget)
135

ENUMS AND FLAGS

137   enum Gtk2::AssistantPageType
138       ·   'content' / 'GTK_ASSISTANT_PAGE_CONTENT'
139
140       ·   'intro' / 'GTK_ASSISTANT_PAGE_INTRO'
141
142       ·   'confirm' / 'GTK_ASSISTANT_PAGE_CONFIRM'
143
144       ·   'summary' / 'GTK_ASSISTANT_PAGE_SUMMARY'
145
146       ·   'progress' / 'GTK_ASSISTANT_PAGE_PROGRESS'
147

SEE ALSO

149       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
150       Gtk2::Container, Gtk2::Bin, Gtk2::Window
151
153       Copyright (C) 2003-2011 by the gtk2-perl team.
154
155       This software is licensed under the LGPL.  See Gtk2 for a full notice.
156
157
158
159perl v5.30.1                      2020-01-30                Gtk2::Assistant(3)
Impressum