GtkToolbar {RGtk2}R Documentation

GtkToolbar

Description

Create bars of buttons and other widgets

Methods and Functions

gtkToolbarNew(show = TRUE)
gtkToolbarInsert(object, item, pos)
gtkToolbarGetItemIndex(object, item)
gtkToolbarGetNItems(object)
gtkToolbarGetNthItem(object, n)
gtkToolbarGetDropIndex(object, x, y)
gtkToolbarSetDropHighlightItem(object, tool.item = NULL, index)
gtkToolbarSetShowArrow(object, show.arrow)
gtkToolbarSetOrientation(object, orientation)
gtkToolbarSetTooltips(object, enable)
gtkToolbarUnsetIconSize(object)
gtkToolbarGetShowArrow(object)
gtkToolbarGetOrientation(object)
gtkToolbarGetStyle(object)
gtkToolbarGetIconSize(object)
gtkToolbarGetTooltips(object)
gtkToolbarGetReliefStyle(object)
gtkToolbarAppendItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)
gtkToolbarPrependItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data)
gtkToolbarInsertItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position)
gtkToolbarAppendSpace(object)
gtkToolbarPrependSpace(object)
gtkToolbarInsertSpace(object, position)
gtkToolbarAppendElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)
gtkToolbarPrependElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)
gtkToolbarInsertElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL, position)
gtkToolbarAppendWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)
gtkToolbarPrependWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)
gtkToolbarInsertWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL, position)
gtkToolbarSetStyle(object, style)
gtkToolbarInsertStock(object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position)
gtkToolbarSetIconSize(object, icon.size)
gtkToolbarRemoveSpace(object, position)
gtkToolbarUnsetStyle(object)
gtkToolbar(show = TRUE)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkToolbar

Interfaces

GtkToolbar implements AtkImplementorIface, GtkBuildable, GtkToolShell and GtkOrientable.

Detailed Description

A toolbar is created with a call to gtkToolbarNew.

A toolbar can contain instances of a subclass of GtkToolItem. To add a GtkToolItem to the a toolbar, use gtkToolbarInsert. To remove an item from the toolbar use gtkContainerRemove. 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 a GtkSeparatorToolItem has the "expand" property set to

TRUE
and the "draw" property 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
"popup-context-menu"
signal.

Structures

GtkToolbar

The GtkToolbar struct only contains private data and should only be accessed through the function described below.

Convenient Construction

gtkToolbar is the equivalent of gtkToolbarNew.

Enums and Flags

Signals

Properties

Style Properties

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://library.gnome.org/devel//gtk/GtkToolbar.html


[Package RGtk2 version 2.20.21 Index]