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


Public Types | Public Member Functions
Xfc::Gtk::RadioToolButton Class Reference

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

#include <xfc/gtk/radiotoolbutton.hh>

Inheritance diagram for Xfc::Gtk::RadioToolButton:
Xfc::Gtk::ToggleToolButton Xfc::Gtk::ToolButton Xfc::Gtk::ToolItem 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

List of all members.

Public Types

Public 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.

See also: the ToolItems HOWTO.


Constructor & Destructor Documentation

Xfc::Gtk::RadioToolButton::RadioToolButton ( GtkRadioToolButton *  button,
bool  owns_reference = false 
) [explicit, protected]

Construct a new RadioToolButton from an existing GtkRadioToolButton.

Parameters:
buttonA pointer to a GtkRadioToolButton.
owns_referenceSet 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).

Xfc::Gtk::RadioToolButton::RadioToolButton ( const RadioToolButton group) [explicit]

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

Parameters:
groupAn existing RadioToolButton, or null to start a new group.
Xfc::Gtk::RadioToolButton::RadioToolButton ( const RadioToolButton group,
const StockId stock_id 
)

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

Parameters:
groupAn existing RadioToolButton, or null to start a new group.
stock_idThe 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

Gets the radio button group the button belongs to.

Returns:
The group button belongs to.

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

Parameters:
groupAn existing radio button group.

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