#include <gx_main_window.h>
|
typedef std::function< bool(const Glib::ustring &, Glib::RefPtr< Gio::Menu > &, int, int)> | search_func |
|
|
static void | add_accelerator (Glib::RefPtr< Gtk::AccelGroup > &group, Glib::RefPtr< Gio::Action > action, const Glib::ustring &accelerator, Glib::VariantBase &target) |
|
static void | set_widget_action (Gtk::Widget *w, const Glib::ustring &action) |
|
static void | set_widget_action (Gtk::Widget *w, const Glib::RefPtr< Gio::Action > &action) |
|
Definition at line 109 of file gx_main_window.h.
◆ search_func
◆ UIManager()
UIManager::UIManager |
( |
const std::string & |
file, |
|
|
Gtk::MenuBar * |
bar |
|
) |
| |
◆ add_accelerator() [1/2]
void UIManager::add_accelerator |
( |
Glib::RefPtr< Gio::Action > |
action, |
|
|
Glib::VariantBase & |
target, |
|
|
const Glib::ustring & |
accelerator |
|
) |
| |
◆ add_accelerator() [2/2]
static void UIManager::add_accelerator |
( |
Glib::RefPtr< Gtk::AccelGroup > & |
group, |
|
|
Glib::RefPtr< Gio::Action > |
action, |
|
|
const Glib::ustring & |
accelerator, |
|
|
Glib::VariantBase & |
target |
|
) |
| |
|
static |
◆ add_action() [1/2]
Glib::RefPtr< Gio::SimpleAction > UIManager::add_action |
( |
const Glib::ustring & |
action | ) |
|
◆ add_action() [2/2]
Glib::RefPtr< Gio::SimpleAction > UIManager::add_action |
( |
const Glib::ustring & |
action, |
|
|
sigc::slot< void()> |
slot |
|
) |
| |
◆ add_radio_action()
Glib::RefPtr< RadioAction > UIManager::add_radio_action |
( |
const Glib::ustring & |
action | ) |
|
◆ add_toggle_action()
Glib::RefPtr< ToggleAction > UIManager::add_toggle_action |
( |
const Glib::ustring & |
action, |
|
|
bool |
state = false |
|
) |
| |
◆ add_ui_bool_action()
◆ find_item()
Gtk::MenuItem * UIManager::find_item |
( |
const Glib::ustring & |
action | ) |
|
◆ foreach_menu()
◆ foreach_menu_()
bool UIManager::foreach_menu_ |
( |
Glib::RefPtr< Gio::Menu > & |
menu, |
|
|
search_func & |
func, |
|
|
int & |
startpos |
|
) |
| |
|
private |
◆ get_accel_group()
Glib::RefPtr< Gtk::AccelGroup > & UIManager::get_accel_group |
( |
| ) |
|
|
inline |
◆ get_action_group()
Glib::RefPtr< Gio::SimpleActionGroup > & UIManager::get_action_group |
( |
| ) |
|
|
inline |
◆ get_linked_menu()
Glib::RefPtr< Gio::Menu > UIManager::get_linked_menu |
( |
const Glib::ustring & |
action | ) |
|
◆ insert_action_group()
void UIManager::insert_action_group |
( |
Glib::RefPtr< Gio::SimpleActionGroup > & |
group | ) |
|
|
inline |
◆ remove_item()
bool UIManager::remove_item |
( |
const Glib::ustring & |
action | ) |
|
◆ set_accelerators_from_menu() [1/2]
void UIManager::set_accelerators_from_menu |
( |
| ) |
|
|
inline |
◆ set_accelerators_from_menu() [2/2]
void UIManager::set_accelerators_from_menu |
( |
Glib::RefPtr< Gio::Menu > & |
menu | ) |
|
|
private |
◆ set_widget_action() [1/2]
static void UIManager::set_widget_action |
( |
Gtk::Widget * |
w, |
|
|
const Glib::RefPtr< Gio::Action > & |
action |
|
) |
| |
|
static |
◆ set_widget_action() [2/2]
static void UIManager::set_widget_action |
( |
Gtk::Widget * |
w, |
|
|
const Glib::ustring & |
action |
|
) |
| |
|
static |
◆ accelgroup
Glib::RefPtr<Gtk::AccelGroup> UIManager::accelgroup |
|
private |
◆ actiongroup
Glib::RefPtr<Gio::SimpleActionGroup> UIManager::actiongroup |
|
private |
◆ menu
Glib::RefPtr<Gio::Menu> UIManager::menu |
|
private |
◆ menubar
Gtk::MenuBar* UIManager::menubar |
|
private |
The documentation for this class was generated from the following file: