Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::CheckButton Class Reference

A GtkCheckButton C++ wrapper class. More...

#include <xfc/gtk/checkbutton.hh>

Inheritance diagram for Xfc::Gtk::CheckButton:

Xfc::Gtk::ToggleButton Xfc::Gtk::Button Xfc::Gtk::Bin Xfc::Gtk::Container Xfc::Gtk::Widget Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable Xfc::Gtk::RadioButton List of all members.

Public Member Functions

Accessors

Detailed Description

A GtkCheckButton C++ wrapper class.

A CheckButton places a discrete ToggleButton next to a widget, (usually a Label). See the section on ToggleButton widgets for more information about toggle/check buttons. The important signal "toggled" is also inherited from ToggleButton.

See also: the Button Widget HOWTOs and examples.


Constructor & Destructor Documentation

Xfc::Gtk::CheckButton::CheckButton ( GtkCheckButton *  check_button,
bool  owns_reference = false 
) [explicit, protected]

Construct a new CheckButton from an existing GtkCheckButton.

Parameters:
check_button A pointer to a GtkCheckButton.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The check_button can be a newly created GtkCheckButton or an existing GtkCheckButton. (see G::Object::Object).

Xfc::Gtk::CheckButton::CheckButton ( const String label,
bool  use_underline = false 
) [explicit]

Construct a new CheckButton with a Label to its right.

Parameters:
label The text for the check button.
use_underline true if the label contains an underscore, indicating a mnemonic.
If use_underline is true an underscore in label indicates that the next character is the mnemonic accelerator for the checkbutton.

Xfc::Gtk::CheckButton::CheckButton ( GtkCheckButton *  check_button,
bool  owns_reference = false 
) [explicit, protected]

Construct a new CheckButton from an existing GtkCheckButton.

Parameters:
check_button A pointer to a GtkCheckButton.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The check_button can be a newly created GtkCheckButton or an existing GtkCheckButton. (see G::Object::Object).

Xfc::Gtk::CheckButton::CheckButton ( const String label,
bool  use_underline = false 
) [explicit]

Construct a new CheckButton with a Label to its right.

Parameters:
label The text for the check button.
use_underline true if the label contains an underscore, indicating a mnemonic.
If use_underline is true an underscore in label indicates that the next character is the mnemonic accelerator for the checkbutton.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3