Gtk2::Ex::FormFactory::YesNo - Yes/No radio buttons in a FormFactory framework


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

Index


NAME

Top

Gtk2::Ex::FormFactory::YesNo - Yes/No radio buttons in a FormFactory framework

SYNOPSIS

Top

  Gtk2::Ex::FormFactory::YesNo->new (
    true_label  => Label of the "Yes" button,
    false_label => Label of the "No" button,
    ...
    Gtk2::Ex::FormFactory::Widget attributes
  );

DESCRIPTION

Top

This class implements two RadioButton's grouped together as a Yes and a No button. The state of both RadioButton's is controlled by one associated application object attribute, which should has a boolean value.

OBJECT HIERARCHY

Top

  Gtk2::Ex::FormFactory::Intro

  Gtk2::Ex::FormFactory::Widget
  +--- Gtk2::Ex::FormFactory::YesNo

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

ATTRIBUTES

Top

Attributes are handled through the common get_ATTR(), set_ATTR() style accessors, but they are mostly passed once to the object constructor and must not be altered after the associated FormFactory was built.

true_label = SCALAR [optional]

This is the label of the button which is activated when the associated application object attribute is TRUE. Defaults to "Yes".

false_label = SCALAR [optional]

This is the label of the button which is activated when the associated application object attribute is FALSE. Defaults to "No".

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

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.