Gtk2::Assistant(3) User Contributed Perl Documentation Gtk2::Assistant(3)

Gtk2::Assistant - wrapper for GtkAssistant

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Bin
                         +----Gtk2::Window
                              +----Gtk2::Assistant

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable

$assistant->add_action_widget ($child)

$child (Gtk2::Widget)

integer = $assistant->append_page ($page)

$page (Gtk2::Widget)

widget or undef = $assistant->get_apply_button

widget or undef = $assistant->get_back_button

widget or undef = $assistant->get_cancel_button

widget or undef = $assistant->get_close_button

Since: gtk+ 2.22

integer = $assistant->get_current_page

$assistant->set_current_page ($page_num)

$page_num (integer)

widget or undef = $assistant->get_forward_button

$assistant->set_forward_page_func ($func, $data=undef)

  • $func (scalar)
  • $data (scalar)

integer = $assistant->insert_page ($page, $position)

  • $page (Gtk2::Widget)
  • $position (integer)

widget or undef = $assistant->get_last_button

integer = $assistant->get_n_pages

$page_num (integer)

$page (Gtk2::Widget)

$assistant->set_page_complete ($page, $complete)

  • $page (Gtk2::Widget)
  • $complete (boolean)

pixbuf = $assistant->get_page_header_image ($page)

$page (Gtk2::Widget)

$assistant->set_page_header_image ($page, $pixbuf)

  • $page (Gtk2::Widget)
  • $pixbuf (Gtk2::Gdk::Pixbuf)

pixbuf = $assistant->get_page_side_image ($page)

$page (Gtk2::Widget)

$assistant->set_page_side_image ($page, $pixbuf)

  • $page (Gtk2::Widget)
  • $pixbuf (Gtk2::Gdk::Pixbuf)

$page (Gtk2::Widget)

$assistant->set_page_title ($page, $title)

  • $page (Gtk2::Widget)
  • $title (string)

$page (Gtk2::Widget)

$assistant->set_page_type ($page, $type)

  • $page (Gtk2::Widget)
  • $type (Gtk2::AssistantPageType)

integer = $assistant->prepend_page ($page)

$page (Gtk2::Widget)

$assistant->remove_action_widget ($child)

$child (Gtk2::Widget)

'complete' (boolean : default false : readable / writable)
Whether all required fields on the page have been filled out
'header-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)
Header image for the assistant page
'page-type' (Gtk2::AssistantPageType : default "content" : readable / writable / private / static-nick / static-blurb)
The type of the assistant page
'sidebar-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)
Sidebar image for the assistant page
'title' (string : default undef : readable / writable / private / static-nick / static-blurb)
The title of the assistant page

'content-padding' (integer : default 1 : readable / private / static-nick / static-blurb)
Number of pixels around the content pages.
'header-padding' (integer : default 6 : readable / private / static-nick / static-blurb)
Number of pixels around the header.

  • 'content' / 'GTK_ASSISTANT_PAGE_CONTENT'
  • 'intro' / 'GTK_ASSISTANT_PAGE_INTRO'
  • 'confirm' / 'GTK_ASSISTANT_PAGE_CONFIRM'
  • 'summary' / 'GTK_ASSISTANT_PAGE_SUMMARY'
  • 'progress' / 'GTK_ASSISTANT_PAGE_PROGRESS'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0