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


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

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:
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).

Xfc::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.

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:
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* Xfc::Gtk::RadioToolButton::get_group  )  const
 

Gets the radio button group the button belongs to.

Returns:
The group button belongs to.

void Xfc::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: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3