Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.Toolbar

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkToolbar
Class : Toolbar
Implements: Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell
Extends: Gtk.Container
A toolbar is created with a call to gtk_toolbar_new().
A toolbar can contain instances of a subclass of GtkToolItem. To add
a GtkToolItem to the a toolbar, use gtk_toolbar_insert(). To remove
an item from the toolbar use gtk_container_remove(). To add a button
to the toolbar, add an instance of GtkToolButton.
Toolbar items can be visually grouped by adding instances of
GtkSeparatorToolItem to the toolbar. If the GtkToolbar child property
"expand" is TRUE and the property GtkSeparatorToolItem:draw is set to
FALSE, the effect is to force all following items to the end of the toolbar.
Creating a context menu for the toolbar can be done by connecting to
the GtkToolbar::popup-context-menu signal.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties- Nowhere other than here
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:18 GMT+0800 (HKT)