Gtk-- Reference: Gtk::Menu_Helpers::TearoffMenuElem

Class Index | Cross Index | Namespace Index

# Class Gtk::Menu_Helpers::TearoffMenuElem

Contained in: Gtk::Menu_Helpers
Derived from: Gtk::Menu_Helpers::Element
Derived by: none

#include <gtk--/menushell.h>

### public function member index:
`` | `TearoffMenuElem` | `(`TearoffMenuItem`& `child`)`;
`` | `TearoffMenuElem` | `(`SigC::Slot0`<`void`> `callback` = 0, `const` `string`& `accel_signal` = "activate")`;
`` | `TearoffMenuElem` | `(`const` `AccelKey`& `key`, `SigC::Slot0`<`void`> `callback` = 0, `const` `string`& `accel_signal` = "activate")`;
### protected function member index:
``virtual` `void`` | `create_child_menu_item` | `()`;
``virtual` `void`` | `init` | `(`SigC::Slot0`<`void`> `callback`, `const` `string`& `accel_signal`, `const` `AccelKey`& `accel_key` = AccelKey())`;

## Description:

## Function Member Descriptions:

Gtk::Menu_Helpers::TearoffMenuElem::TearoffMenuElem - create a non-accelerated tearoffmenuitem with a callback

`` `TearoffMenuElem``(`SigC::Slot0`<`void`> `callback` = 0, `const` `string`& `accel_signal` = "activate")`;
Gtk::Menu_Helpers::TearoffMenuElem::TearoffMenuElem - create accelerated tearoffmenuitem with a callback

`` `TearoffMenuElem``(`const` `AccelKey`& `key`, `SigC::Slot0`<`void`> `callback` = 0, `const` `string`& `accel_signal` = "activate")`;