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

#include <menu_elems.h>

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

Public Member Functions

 TearoffMenuElem (TearoffMenuItem &child)
 
 TearoffMenuElem (const CallSlot &slot=CallSlot())
 
 TearoffMenuElem (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
 

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)
 
- Protected Attributes inherited from Gtk::Menu_Helpers::Element
Glib::RefPtr< MenuItemchild_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TearoffMenuElem() [1/3]

Gtk::Menu_Helpers::TearoffMenuElem::TearoffMenuElem ( TearoffMenuItem child)

◆ TearoffMenuElem() [2/3]

Gtk::Menu_Helpers::TearoffMenuElem::TearoffMenuElem ( const CallSlot slot = CallSlot())

Create a non-accelerated TearoffMenuItem with a sigc::slot

Parameters
slotUse sigc::mem_fun() to specify a signal handler

◆ TearoffMenuElem() [3/3]

Gtk::Menu_Helpers::TearoffMenuElem::TearoffMenuElem ( const AccelKey key,
const CallSlot slot = CallSlot() 
)

Create accelerated TearoffMenuItem with a sigc::slot

Parameters
keyThe accelerator key combination
slotUse sigc::mem_fun() to specify a signal handler

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