Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.ToolItem

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkToolItem
Class : ToolItem
Implements: Gtk.Activatable, Atk.ImplementorIface, Gtk.Buildable
Extends: Gtk.Bin
  Show / Hide Inherited methods, properties and signals
The GtkToolItem struct contains only private data. It should only be accessed through the functions described below.
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
Class / Namespace Method / Signal / Properties
Epiphany.EggEditableToolbar
Property
selected : Gtk.ToolItem read only
Gtk.ToolItemGroup
Method
insert (ToolItem item, Number position) : none
Inserts item at position in the list of children of group.
Gtk.ToolItemGroup
Method
set_item_position (ToolItem item, Number position) : none
Sets the position of item in the list of children of group.
Gtk.ToolItemGroup
Method
get_item_position (ToolItem item) : Number
Gets the position of item in group as index.
Gtk.ToolItemGroup
Method
get_nth_item (Number index) : Gtk.ToolItem
Gets the tool item at index in group.
Gtk.ToolItemGroup
Method
get_drop_item (Number x, Number y) : Gtk.ToolItem
Gets the tool item at position (x, y).
Gtk.ToolPalette
Method
get_drop_item (Number x, Number y) : Gtk.ToolItem
Gets the item at position (x, y).
Gtk.Toolbar
Method
insert (ToolItem item, Number pos) : none
Insert a GtkToolItem into the toolbar at position pos.
Gtk.Toolbar
Method
get_item_index (ToolItem item) : Number
Returns the position of item on the toolbar, starting from 0.
Gtk.Toolbar
Method
get_nth_item (Number n) : Gtk.ToolItem
Returns the n'th item on toolbar, or NULL if the toolbar does not contain an n'th item.
Gtk.Toolbar
Method
set_drop_highlight_item (ToolItem tool_item, Number index_) : none
Highlights toolbar to give an idea of what it would look like if item was added to toolbar at the position indicated by index_.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:33 GMT+0800 (HKT)