Learn R Programming

RGtk2 (version 2.20.1)

GtkToolItem: GtkToolItem

Description

The base class of widgets that can be added to GtkToolShell

Arguments

Methods and Functions

gtkToolItemNew(show = TRUE) gtkToolItemSetHomogeneous(object, homogeneous) gtkToolItemGetHomogeneous(object) gtkToolItemSetExpand(object, expand) gtkToolItemGetExpand(object) gtkToolItemSetTooltip(object, tooltips, tip.text = NULL, tip.private = NULL) gtkToolItemSetTooltip(object, tooltips, tip.text = NULL, tip.private = NULL) gtkToolItemSetTooltipText(object, text) gtkToolItemSetTooltipMarkup(object, markup) gtkToolItemSetUseDragWindow(object, use.drag.window) gtkToolItemGetUseDragWindow(object) gtkToolItemSetVisibleHorizontal(object, visible.horizontal) gtkToolItemGetVisibleHorizontal(object) gtkToolItemSetVisibleVertical(object, visible.vertical) gtkToolItemGetVisibleVertical(object) gtkToolItemSetIsImportant(object, is.important) gtkToolItemGetIsImportant(object) gtkToolItemGetEllipsizeMode(object) gtkToolItemGetIconSize(object) gtkToolItemGetOrientation(object) gtkToolItemGetToolbarStyle(object) gtkToolItemGetReliefStyle(object) gtkToolItemGetTextAlignment(object) gtkToolItemGetTextOrientation(object) gtkToolItemRetrieveProxyMenuItem(object) gtkToolItemGetProxyMenuItem(object, menu.item.id) gtkToolItemSetProxyMenuItem(object, menu.item.id, menu.item = NULL) gtkToolItemRebuildMenu(object) gtkToolItemToolbarReconfigured(object) gtkToolItemGetTextSizeGroup(object) gtkToolItem(show = TRUE)

Hierarchy

GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkSeparatorToolItem

Interfaces

GtkToolItem implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

GtkToolItems are widgets that can appear on a toolbar. To create a toolbar item that contain something else than a button, use gtkToolItemNew. Use gtkContainerAdd to add a child widget to the tool item. For toolbar items that contain buttons, see the GtkToolButton, GtkToggleToolButton and GtkRadioToolButton classes. See the GtkToolbar class for a description of the toolbar widget, and GtkToolShell for a description of the tool shell interface.

Convenient Construction

gtkToolItem is the equivalent of gtkToolItemNew.

References

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