Gtk2::Button
Gtk2::Button
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Button
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Mnemonics are "memory aids"; in GTK+, a mnemonic is an underlined character
which corresponds to a keyboard accelerator. For a button, that means pressing
Alt and that key activates the button.
For convenience, Gtk2-Perl uses mnemonics by default on widgets that support
them. If characters in label string are preceded by an underscore, they are
underlined. If you need a literal underscore character in a label, use '__'
(two underscores). If you don't want to use mnemonics at all, use the
non-mnemonic version explicitly (e.g. Gtk2::Button::new_with_label
).
specified stock item, see Gtk2::Stock
Since: gtk+ 2.4
Since: gtk+ 2.4
Since: gtk+ 2.4
Since: gtk+ 2.4
Since: gtk+ 2.6
Since: gtk+ 2.9
Since: gtk+ 2.9
Since: gtk+ 2.6
- 'focus-on-click' (boolean : readable / writable / private)
-
Whether the button grabs focus when it is clicked with the mouse
- 'image' (Gtk2::Widget : readable / writable / private)
-
Child widget to appear next to the button text
- 'image-position' (Gtk2::PositionType : readable / writable / private)
-
The position of the image relative to the text
- 'label' (string : readable / writable / construct / private)
-
Text of the label widget inside the button, if the button contains a label widget
- 'relief' (Gtk2::ReliefStyle : readable / writable / private)
-
The border relief style
- 'use-stock' (boolean : readable / writable / construct / private)
-
If set, the label is used to pick a stock item instead of being displayed
- 'use-underline' (boolean : readable / writable / construct / private)
-
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key
- 'xalign' (Glib::Float : readable / writable / private)
-
Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned
- 'yalign' (Glib::Float : readable / writable / private)
-
Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned
- activate (Gtk2::Button)
- pressed (Gtk2::Button)
- released (Gtk2::Button)
- clicked (Gtk2::Button)
- enter (Gtk2::Button)
- leave (Gtk2::Button)
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
[Top]
Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:35 2009