Rechercher une page de manuel
Gtk2::Ex::FormFactory::Notebook.3pm
Langue: en
Version: 2006-05-26 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::Ex::FormFactory::Notebook - A Notebook in a FormFactory frameworkSYNOPSIS
Gtk2::Ex::FormFactory::Notebook->new ( ... Gtk2::Ex::FormFactory::Container attributes Gtk2::Ex::FormFactory::Widget attributes );
DESCRIPTION
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
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
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
Jo.rn Reder <joern at zyn dot de>
COPYRIGHT AND LICENSE
Copyright 2004-2006 by Jo.rn Reder.This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre