logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ToggleAction Class Reference

Inheritance diagram for Gtk::ToggleAction:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ToggleAction ()
GtkToggleAction* gobj ()
 Provides access to the underlying C GObject.

const GtkToggleAction* gobj () const
 Provides access to the underlying C GObject.

GtkToggleAction* gobj_copy ()
void toggled ()
void set_active (bool is_active=true)
bool get_active () const
void set_draw_as_radio (bool draw_as_radio=true)
bool get_draw_as_radio () const
Glib::SignalProxy0<void> signal_toggled ()
Glib::PropertyProxy<bool> property_draw_as_radio ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.


Static Public Member Functions

Glib::RefPtr<ToggleActioncreate ()
Glib::RefPtr<ToggleActioncreate (const Glib::ustring& name, const Glib::ustring& label=Glib::ustring(), const Glib::ustring& tooltip=Glib::ustring(), bool is_active=false)
Glib::RefPtr<ToggleActioncreate (const Glib::ustring& name, const Gtk::StockID& stock_id, const Glib::ustring& label=Glib::ustring(), const Glib::ustring& tooltip=Glib::ustring(), bool is_active=false)

Protected Member Functions

virtual void on_toggled ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gtk::ToggleActionwrap (GtkToggleAction* object, bool take_copy=false)

Constructor & Destructor Documentation

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


Member Function Documentation

Glib::RefPtr<ToggleAction> Gtk::ToggleAction::create ( const Glib::ustring name,
const Gtk::StockID stock_id,
const Glib::ustring label = Glib::ustring(),
const Glib::ustring tooltip = Glib::ustring(),
bool  is_active = false
[static]
 

Glib::RefPtr<ToggleAction> Gtk::ToggleAction::create ( const Glib::ustring name,
const Glib::ustring label = Glib::ustring(),
const Glib::ustring tooltip = Glib::ustring(),
bool  is_active = false
[static]
 

Glib::RefPtr<ToggleAction> Gtk::ToggleAction::create (  )  [static]
 

Reimplemented from Gtk::Action.

Reimplemented in Gtk::RadioAction.

bool Gtk::ToggleAction::get_active (  )  const
 

bool Gtk::ToggleAction::get_draw_as_radio (  )  const
 

const GtkToggleAction* Gtk::ToggleAction::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Gtk::Action.

Reimplemented in Gtk::RadioAction.

GtkToggleAction* Gtk::ToggleAction::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Gtk::Action.

Reimplemented in Gtk::RadioAction.

GtkToggleAction* Gtk::ToggleAction::gobj_copy (  ) 
 

Reimplemented from Gtk::Action.

Reimplemented in Gtk::RadioAction.

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

Glib::PropertyProxy<bool> Gtk::ToggleAction::property_draw_as_radio (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

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

void Gtk::ToggleAction::set_draw_as_radio ( bool  draw_as_radio = true  ) 
 

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

Prototype:
void toggled()

void Gtk::ToggleAction::toggled (  ) 
 


Friends And Related Function Documentation

Glib::RefPtr<Gtk::ToggleAction> wrap ( GtkToggleAction*  object,
bool  take_copy = false
[related]
 


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