Gtk2::Assistant(3)

NAME
Gtk2::Assistant - wrapper for GtkAssistant

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

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

METHODS

  widget = Gtk2::Assistant->new

  $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

  $assistant->commit
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

  widget = $assistant->get_nth_page ($page_num)

•   $page_num (integer)

  boolean = $assistant->get_page_complete ($page)

•   $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)

  string = $assistant->get_page_title ($page)

•   $page (Gtk2::Widget)

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

•   $page (Gtk2::Widget)

•   $title (string)

  assistantpagetype = $assistant->get_page_type ($page)

•   $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)

  $assistant->update_buttons_state

CHILD PROPERTIES

'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)
    Header image for the assistant page

'page-type' (Gtk2::AssistantPageType : default "content" : readable / writable / private)
    The type of the assistant page

'sidebar-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private)
    Sidebar image for the assistant page

'title' (string : default undef : readable / writable / private)
    The title of the assistant page

STYLE PROPERTIES

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

'header-padding' (integer : default 6 : readable / private)
    Number of pixels around the header.

SIGNALS

apply (Gtk2::Assistant)
cancel (Gtk2::Assistant)
close (Gtk2::Assistant)
prepare (Gtk2::Assistant, Gtk2::Widget)

ENUMS AND FLAGS

  enum Gtk2::AssistantPageType

•   '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'

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

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

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