gtkToolButtonNew(icon.widget = NULL, label = NULL, show = TRUE)
gtkToolButtonNewFromStock(stock.id)
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, show = TRUE)
gtkToolButtonNew
to create a new gtkToolButtonNewWithStock()
to create a 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 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 label.gtkToolButton
is the equivalent of gtkToolButtonNew
.