GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::RadioToolButton Class Reference

A GtkRadioToolButton C++ wrapper class. More...

#include <gfc/gtk/radiotoolbutton.hh>

Inheritance diagram for GFC::Gtk::RadioToolButton:

GFC::Gtk::ToggleToolButton GFC::Gtk::ToolButton GFC::Gtk::ToolItem GFC::Gtk::Bin GFC::Gtk::Container GFC::Gtk::Widget GFC::Gtk::Object GFC::Atk::Implementor GFC::G::Object GFC::G::TypeInterface GFC::G::TypeInstance GFC::G::TypeInstance GFC::Trackable GFC::Trackable List of all members.

Public Types

Public Member Functions

Constructors
Accessors
Methods

Protected Member Functions

Constructors

Detailed Description

A GtkRadioToolButton C++ wrapper class.

A RadioToolButton is a ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time.


Constructor & Destructor Documentation

GFC::Gtk::RadioToolButton::RadioToolButton GtkRadioToolButton *  button,
bool  owns_reference = false
[explicit, protected]
 

Construct a new RadioToolButton from an existing GtkRadioToolButton.

Parameters:
button A pointer to a GtkRadioToolButton.
owns_reference Set false if the initial reference count is floating, set true if it's not.

The button can be a newly created GtkRadioToolButton or an existing GtkRadioToolButton (see G::Object::Object).

GFC::Gtk::RadioToolButton::RadioToolButton const RadioToolButton group  )  [explicit]
 

Constructs a new radio tool button that is a member of a group.

Parameters:
group An existing RadioToolButton, or null to start a new group.

GFC::Gtk::RadioToolButton::RadioToolButton const RadioToolButton group,
const StockId stock_id
 

Constructs a new radio tool button that is a member of a group.

Parameters:
group An existing RadioToolButton, or null to start a new group.
stock_id The stock item ID.

The new radio tool button will contain an icon and label from the stock item indicated by stock_id.


Member Function Documentation

Group* GFC::Gtk::RadioToolButton::get_group  )  const
 

Gets the radio button group the button belongs to.

Returns:
The group button belongs to.

void GFC::Gtk::RadioToolButton::set_group Group group  ) 
 

Adds the button to group, removing it from the group it belonged to before.

Parameters:
group An existing radio button group.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:41 2004 for GFC-UI by doxygen 1.3.8