gtkToolButtonNew(icon.widget = NULL, label = NULL, show = TRUE)
gtkToolButtonNewFromStock(stock.id, show = TRUE)
gtkToolButtonSetLabel(object, label = NULL)
gtkToolButtonGetLabel(object)
gtkToolButtonSetUseUnderline(object, use.underline)
gtkToolButtonGetUseUnderline(object)
gtkToolButtonSetStockId(object, stock.id = NULL)
gtkToolButtonGetStockId(object)
gtkToolButtonSetIconName(object, icon.name)
gtkToolButtonGetIconName(object)
gtkToolButtonSetIconWidget(object, icon.widget = NULL)
gtkToolButtonGetIconWidget(object)
gtkToolButtonSetLabelWidget(object, label.widget = NULL)
gtkToolButtonGetLabelWidget(object)
gtkToolButton(icon.widget = NULL, label = NULL, stock.id, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkMenuToolButton +----GtkToggleToolButton
GtkBuildable
and GtkActivatable
.GtkToolButton
s are GtkToolItems
containing buttons. Use gtkToolButtonNew
to create a new GtkToolButton
. Use
gtkToolButtonNewWithStock()
to create a GtkToolButton
containing a stock item. The label of a GtkToolButton
is determined by the properties
"label-widget", "label", and "stock-id". If "label-widget" is
non-NULL
, then that widget is used as the label. Otherwise, if
"label" is non-NULL
, that string is used as the label. Otherwise, if
"stock-id" is non-NULL
, the label is determined by the stock
item. Otherwise, the button does not have a label. The icon of a GtkToolButton
is determined by the properties
"icon-widget" and "stock-id". If "icon-widget" is non-NULL
, then
that widget is used as the icon. Otherwise, if "stock-id" is
non-NULL
, the icon is determined by the stock item. Otherwise,
the button does not have a icon.gtkToolButton
is the result of collapsing the constructors of GtkToolButton
(gtkToolButtonNew
, gtkToolButtonNewFromStock
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.icon-name
[character : * : Read / Write]icon-widget
[GtkWidget
: * : Read / Write]label
[character : * : Read / Write]label-widget
[GtkWidget
: * : Read / Write]stock-id
[character : * : Read / Write]use-underline
[logical : Read / Write]