Gtk2::Ex::FormFactory::Notebook - A Notebook in a FormFactory framework


Gtk2-Ex-FormFactory documentation  | view source Contained in the Gtk2-Ex-FormFactory distribution.

Index


NAME

Top

Gtk2::Ex::FormFactory::Notebook - A Notebook in a FormFactory framework

SYNOPSIS

Top

  Gtk2::Ex::FormFactory::Notebook->new (
    ...
    Gtk2::Ex::FormFactory::Container attributes
    Gtk2::Ex::FormFactory::Widget attributes
  );

DESCRIPTION

Top

This class implements a Notebook in a Gtk2::Ex::FormFactory framework. The number of the actually selected notebook page is controlled by the value of the associated application object attribute.

OBJECT HIERARCHY

Top

  Gtk2::Ex::FormFactory::Intro

  Gtk2::Ex::FormFactory::Widget
  +--- Gtk2::Ex::FormFactory::Container
       +--- Gtk2::Ex::FormFactory::Notebook

  Gtk2::Ex::FormFactory::Layout
  Gtk2::Ex::FormFactory::Rules
  Gtk2::Ex::FormFactory::Context
  Gtk2::Ex::FormFactory::Proxy

ATTRIBUTES

Top

This module has no additional attributes over those derived from Gtk2::Ex::FormFactory::Container, but some special notes apply:

content = ARRAYREF of Gtk2::Ex::FormFactory::Widget's [optional]

Only widgets which have a title attribute may be added to a NoteBook. Since Gtk2::Ex::FormFactory::Container defines the title attribute all containers can be turned into a notebook page.

The widget title will automatically render to the title of the page resp as the text appearing on the page's tab.

You can add an icon to the Notebook tab by prefixing the widget title with a stock item name in square brackets, e.g. this way:

  title => "[gtk-cdrom] CDROM Contents",

For more attributes refer to Gtk2::Ex::FormFactory::Container.

AUTHORS

Top

 Jörn Reder <joern at zyn dot de>

COPYRIGHT AND LICENSE

Top


Gtk2-Ex-FormFactory documentation  | view source Contained in the Gtk2-Ex-FormFactory distribution.