logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ToggleToolButton Class Reference
[Widgets]

Inheritance diagram for Gtk::ToggleToolButton:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ToggleToolButton ()
GtkToggleToolButton* gobj ()
 Provides access to the underlying C GtkObject.

const GtkToggleToolButton* gobj () const
 Provides access to the underlying C GtkObject.

 ToggleToolButton ()
 ToggleToolButton (const Gtk::StockID& stock_id)
 ToggleToolButton (const Glib::ustring& label)
 ToggleToolButton (Widget& icon_widget, const Glib::ustring& label=Glib::ustring())
void set_active (bool is_active=true)
 Sets the status of the toggle tool button.

bool get_active () const
 Queries a Gtk::ToggleToolButton and returns its current state.

Glib::SignalProxy0<void> signal_toggled ()

Protected Member Functions

virtual void on_toggled ()

Related Functions

(Note that these are not member functions.)

Gtk::ToggleToolButtonwrap (GtkToggleToolButton* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::ToggleToolButton::~ToggleToolButton (  )  [virtual]
 

Gtk::ToggleToolButton::ToggleToolButton (  ) 
 

Gtk::ToggleToolButton::ToggleToolButton ( const Gtk::StockID stock_id  )  [explicit]
 

Gtk::ToggleToolButton::ToggleToolButton ( const Glib::ustring label  )  [explicit]
 

Gtk::ToggleToolButton::ToggleToolButton ( Widget icon_widget,
const Glib::ustring label = Glib::ustring()
[explicit]
 


Member Function Documentation

bool Gtk::ToggleToolButton::get_active (  )  const
 

Queries a Gtk::ToggleToolButton and returns its current state.

Returns true if the toggle button is pressed in and false if it is raised.

Returns:
true if the toggle tool button is pressed in, false if not
Since: 2.4.

const GtkToggleToolButton* Gtk::ToggleToolButton::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ToolButton.

Reimplemented in Gtk::RadioToolButton.

GtkToggleToolButton* Gtk::ToggleToolButton::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ToolButton.

Reimplemented in Gtk::RadioToolButton.

virtual void Gtk::ToggleToolButton::on_toggled (  )  [protected, virtual]
 

void Gtk::ToggleToolButton::set_active ( bool  is_active = true  ) 
 

Sets the status of the toggle tool button.

Set to true if you want the GtkToggleButton to be 'pressed in', and false to raise it. This action causes the toggled signal to be emitted.

Since: 2.4

Parameters:
is_active Whether button should be active.

Glib::SignalProxy0<void> Gtk::ToggleToolButton::signal_toggled (  ) 
 


Friends And Related Function Documentation

Gtk::ToggleToolButton* wrap ( GtkToggleToolButton*  object,
bool  take_copy = false
[related]
 

Parameters:
object The C instance
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated for gtkmm 2.4 by Doxygen 1.3.4 © 1997-2001