diff options
author | Carl Hetherington <carl@carlh.net> | 2007-11-12 23:44:49 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2007-11-12 23:44:49 +0000 |
commit | 61c990dfbab37b8c3749d27684dc8dcb43554739 (patch) | |
tree | 2ba0ae7f3e167c0f824c1911e6f723f9e0be29a8 /libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h | |
parent | b01bdb7e70f021da764e81a4b55722e746e4885d (diff) |
Upgrade gtkmm to 2.10.8, glibmm to 2.13.3 and add cairomm 1.2.4
git-svn-id: svn://localhost/ardour2/trunk@2630 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h')
-rw-r--r-- | libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h b/libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h index 331d65976e..f9f5936a8d 100644 --- a/libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h +++ b/libs/gtkmm2/gtk/gtkmm/toggletoolbutton.h @@ -3,6 +3,7 @@ #ifndef _GTKMM_TOGGLETOOLBUTTON_H #define _GTKMM_TOGGLETOOLBUTTON_H + #include <glibmm.h> /* $Id$ */ @@ -89,12 +90,18 @@ public: public: //C++ methods used to invoke GTK+ virtual functions: +#ifdef GLIBMM_VFUNCS_ENABLED +#endif //GLIBMM_VFUNCS_ENABLED protected: //GTK+ Virtual Functions (override these to change behaviour): +#ifdef GLIBMM_VFUNCS_ENABLED +#endif //GLIBMM_VFUNCS_ENABLED //Default Signal Handlers:: +#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED virtual void on_toggled(); +#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED private: @@ -135,7 +142,7 @@ public: * want the GtkToggleButton to be 'pressed in', and <tt>false</tt> to raise it. * This action causes the toggled signal to be emitted. * - * Since: 2.4 + * @newin2p4 * @param is_active Whether @a button should be active. */ void set_active(bool is_active = true); @@ -144,11 +151,16 @@ public: * Returns <tt>true</tt> if the toggle button is pressed in and <tt>false</tt> if it is raised. * @return <tt>true</tt> if the toggle tool button is pressed in, <tt>false</tt> if not * - * Since: 2.4. + * @newin2p4. */ bool get_active() const; +/** + * @par Prototype: + * <tt>void %toggled()</tt> + */ + Glib::SignalProxy0< void > signal_toggled(); @@ -165,6 +177,8 @@ namespace Glib * @result A C++ instance that wraps this C instance. */ Gtk::ToggleToolButton* wrap(GtkToggleToolButton* object, bool take_copy = false); -} +} //namespace Glib + + #endif /* _GTKMM_TOGGLETOOLBUTTON_H */ |