PHP-GTK
Friday, October 31, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeViewColumn::width
GtkUIManager Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkUIManager

An object for creating menus and toolbars from XML.

Object Hierarchy

Description

A GtkUIManager object constructs menus and toolbars from an XML description. GtkUIManager is used to create a user interfaces consisting of menus and toolbars from a UI definition which references one or more action groups.

Constructors

-- Creates a new GtkUIManager object.

--

Methods

add_ui()
  Adds a new UI element to the specified location.
add_ui_from_file()
  Merges a file UI definition.
add_ui_from_string()
  Merges a string UI definition.
ensure_update()
  Make sure all pending updates have been added.
get_accel_group()
  Returns an associated GtkAccelGroup
get_action()
  Looks up a GtkAction by following a path.
get_action_groups()
  Returns associated GtkActionGroup objects.
get_add_tearoffs()
  Returns true if regular menus will have tearoff menu items.
get_toplevels()
  Obtains a list of all toplevel widgets of the requested types.
get_ui()
  Gets a string containing an XML representation of the merged UI.
get_widget()
  Looks up a widget by following a path.
insert_action_group()
  Inserts a GtkActionGroup at a location.
new_merge_id()
  Returns a merge id for use when adding a ui component.
remove_action_group()
  Removes the par of the ui definition content.
remove_ui()
  Remove part of the ui description.
set_add_tearoffs()
  Controls if regular menu items will have tearoffs.

Signals

"actions-changed"
  This signal is emitted when the set of actions changes.
"add-widget"
  This signal is emitted for each generated menubar and toolbar
"connect-proxy"
  This signal is emitted when a widget is connected to an action.
"disconnect-proxy"
  This signal is emitted when a widget is disconnected from an action.
"post-activate"
  Emitted after action is activated.
"pre-activate"
  Emitted before action is activated.


User Contributed Notes
gtk.gtkuimanager.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTreeViewColumn::width
GtkUIManager Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST