GtkToolItem {RGtk2} | R Documentation |
The base class of widgets that can be added to GtkToolbar
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)
gtkToolItemGetIconSize(object)
gtkToolItemGetOrientation(object)
gtkToolItemGetToolbarStyle(object)
gtkToolItemGetReliefStyle(object)
gtkToolItemRetrieveProxyMenuItem(object)
gtkToolItemGetProxyMenuItem(object, menu.item.id)
gtkToolItemSetProxyMenuItem(object, menu.item.id, menu.item = NULL)
gtkToolItemRebuildMenu(object)
gtkToolItem(show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkSeparatorToolItem
GtkToolItem implements
GtkBuildable
and AtkImplementorIface.
GtkToolItem
s 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.
GtkToolbar
GtkToolItem
gtkToolItem
is the equivalent of gtkToolItemNew
.
The (tool.item, user.data)
tool.item
about whether the item should appear in the toolbar overflow menu. In
response the tool item should either
The toolbar may cache the result of this signal. When the tool item changes
how it will respond to this signal it must call gtkToolItemRebuildMenu
to invalidate the cache and ensure that the toolbar rebuilds its overflow
menu.
tool.item
GtkToolItem
] the object the signal was emitted onuser.data
Returns: [logical] TRUE
if the signal was handled, FALSE
if not
The (tool.item, tooltips, tip.text, tip.private, user.data)
gtkToolItemSetTooltip
to
set the item's tooltip.
tool.item
GtkToolItem
] the object the signal was emitted ontooltips
GtkTooltips
] the GtkTooltips
tip.text
tip.private
user.data
Returns: [logical] TRUE
if the signal was handled, FALSE
if not
The (tool.item, user.data)
GtkToolItem
,
the default handler of this signal use the functions
to find out what the toolbar should look like and change themselves accordingly.
tool.item
GtkToolItem
] the object the signal was emitted onuser.data
is-important
[logical : Read / Write]Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode. Default value: FALSE
visible-horizontal
[logical : Read / Write]Whether the toolbar item is visible when the toolbar is in a horizontal orientation. Default value: TRUE
visible-vertical
[logical : Read / Write]Whether the toolbar item is visible when the toolbar is in a vertical orientation. Default value: TRUE
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkToolItem.html