Ardour  9.0-pre0-582-g084a23a80d
Gtk::Menu_Helpers::RadioMenuElem Class Reference

#include <menu_elems.h>

Inheritance diagram for Gtk::Menu_Helpers::RadioMenuElem:
[legend]

Public Member Functions

 RadioMenuElem (RadioMenuItem &child)
 
 RadioMenuElem (RadioMenuItem::Group &, const Glib::ustring &label, const CallSlot &slot=CallSlot())
 
 RadioMenuElem (RadioMenuItem::Group &group, const Glib::ustring &label, const AccelKey &key, const CallSlot &slot=CallSlot())
 
- Public Member Functions inherited from Gtk::Menu_Helpers::Element
 Element ()
 
 Element (MenuItem &child)
 
 ~Element ()
 
const Glib::RefPtr< MenuItem > & get_child () const
 

Protected Attributes

RadioMenuItem::Groupgr_
 
- Protected Attributes inherited from Gtk::Menu_Helpers::Element
Glib::RefPtr< MenuItemchild_
 

Additional Inherited Members

- Public Types inherited from Gtk::Menu_Helpers::Element
typedef sigc::slot< void > CallSlot
 
- Protected Member Functions inherited from Gtk::Menu_Helpers::Element
void set_child (MenuItem *pChild)
 
void set_accel_key (const AccelKey &accel_key)
 

Detailed Description

Definition at line 218 of file tk/ytkmm/ytkmm/gtkmm/menu_elems.h.

Constructor & Destructor Documentation

◆ RadioMenuElem() [1/3]

Gtk::Menu_Helpers::RadioMenuElem::RadioMenuElem ( RadioMenuItem child)

◆ RadioMenuElem() [2/3]

Gtk::Menu_Helpers::RadioMenuElem::RadioMenuElem ( RadioMenuItem::Group ,
const Glib::ustring &  label,
const CallSlot slot = CallSlot() 
)

Create a labeled, non-accelerated MenuItem with a sigc::slot

Parameters
labelThe menu item's name
slotUse sigc::mem_fun() to specify a signal handler

◆ RadioMenuElem() [3/3]

Gtk::Menu_Helpers::RadioMenuElem::RadioMenuElem ( RadioMenuItem::Group group,
const Glib::ustring &  label,
const AccelKey key,
const CallSlot slot = CallSlot() 
)

Create a labeled, accelerated CheckMenuItem with a sigc::slot

Parameters
groupThe RadioMenuItem group in which to put this.
labelThe menu item's name
keyThe accelerator key combination
slotUse sigc::mem_fun() to specify a signal handler

Member Data Documentation

◆ gr_

RadioMenuItem::Group* Gtk::Menu_Helpers::RadioMenuElem::gr_
protected

Definition at line 241 of file tk/ytkmm/ytkmm/gtkmm/menu_elems.h.


The documentation for this class was generated from the following file: