logo top
Main Page   Widgets   Namespaces   Book  

Gtk::UIManager Class Reference

Inheritance diagram for Gtk::UIManager:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~UIManager ()
GtkUIManager* gobj ()
 Provides access to the underlying C GObject.

const GtkUIManager* gobj () const
 Provides access to the underlying C GObject.

GtkUIManager* gobj_copy ()
void set_add_tearoffs (bool add_tearoffs=true)
bool get_add_tearoffs () const
void insert_action_group (const Glib::RefPtr<ActionGroup>& action_group, int pos=0)
void remove_action_group (const Glib::RefPtr<ActionGroup>& action_group)
Glib::ListHandle< Glib::RefPtr<
ActionGroup > > 
get_action_groups ()
Glib::RefPtr<AccelGroupget_accel_group ()
Glib::RefPtr<const AccelGroupget_accel_group () const
Widgetget_widget (const Glib::ustring& path)
const Widgetget_widget (const Glib::ustring& path) const
Glib::RefPtr<Actionget_action (const Glib::ustring& path)
Glib::RefPtr<const Actionget_action (const Glib::ustring& path) const
guint add_ui_from_string (const Glib::ustring& buffer)
guint add_ui_from_file (const Glib::ustring& filename)
void add_ui (guint merge_id, const Glib::ustring& path, const Glib::ustring& name, const Glib::ustring& action, UIManagerItemType type, bool top=true)
void remove_ui (guint merge_id)
Glib::ustring get_ui () const
void ensure_update ()
guint new_merge_id ()
Glib::SignalProxy1< void,
Widget* > 
signal_add_widget ()
Glib::SignalProxy0<void> signal_actions_changed ()
Glib::PropertyProxy<bool> property_add_tearoffs ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_ui ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.


Static Public Member Functions

Glib::RefPtr<UIManagercreate ()

Protected Member Functions

virtual void on_add_widget (Widget* widget)
virtual void on_actions_changed ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gtk::UIManagerwrap (GtkUIManager* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::UIManager::~UIManager (  )  [virtual]
 


Member Function Documentation

void Gtk::UIManager::add_ui ( guint  merge_id,
const Glib::ustring path,
const Glib::ustring name,
const Glib::ustring action,
UIManagerItemType  type,
bool  top = true
 

guint Gtk::UIManager::add_ui_from_file ( const Glib::ustring filename  ) 
 

guint Gtk::UIManager::add_ui_from_string ( const Glib::ustring buffer  ) 
 

Glib::RefPtr<UIManager> Gtk::UIManager::create (  )  [static]
 

void Gtk::UIManager::ensure_update (  ) 
 

Glib::RefPtr<const AccelGroup> Gtk::UIManager::get_accel_group (  )  const
 

Glib::RefPtr<AccelGroup> Gtk::UIManager::get_accel_group (  ) 
 

Glib::RefPtr<const Action> Gtk::UIManager::get_action ( const Glib::ustring path  )  const
 

Glib::RefPtr<Action> Gtk::UIManager::get_action ( const Glib::ustring path  ) 
 

Glib::ListHandle<Glib::RefPtr<ActionGroup>> Gtk::UIManager::get_action_groups (  ) 
 

bool Gtk::UIManager::get_add_tearoffs (  )  const
 

Glib::ustring Gtk::UIManager::get_ui (  )  const
 

const Widget* Gtk::UIManager::get_widget ( const Glib::ustring path  )  const
 

Widget* Gtk::UIManager::get_widget ( const Glib::ustring path  ) 
 

const GtkUIManager* Gtk::UIManager::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GtkUIManager* Gtk::UIManager::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GtkUIManager* Gtk::UIManager::gobj_copy (  ) 
 

void Gtk::UIManager::insert_action_group ( const Glib::RefPtr<ActionGroup>&  action_group,
int  pos = 0
 

guint Gtk::UIManager::new_merge_id (  ) 
 

virtual void Gtk::UIManager::on_actions_changed (  )  [protected, virtual]
 

virtual void Gtk::UIManager::on_add_widget ( Widget widget  )  [protected, virtual]
 

Glib::PropertyProxy<bool> Gtk::UIManager::property_add_tearoffs (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gtk::UIManager::property_ui (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

void Gtk::UIManager::remove_action_group ( const Glib::RefPtr<ActionGroup>&  action_group  ) 
 

void Gtk::UIManager::remove_ui ( guint  merge_id  ) 
 

void Gtk::UIManager::set_add_tearoffs ( bool  add_tearoffs = true  ) 
 

Glib::SignalProxy0<void> Gtk::UIManager::signal_actions_changed (  ) 
 

Prototype:
void actions_changed()

Glib::SignalProxy1<void,Widget*> Gtk::UIManager::signal_add_widget (  ) 
 

Prototype:
void add_widget(Widget* widget)


Friends And Related Function Documentation

Glib::RefPtr<Gtk::UIManager> wrap ( GtkUIManager*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm 2.2 by Doxygen 1.3.4 © 1997-2001