MenuToolButton.newFromStock

Creates a new #GtkMenuToolButton. The new #GtkMenuToolButton will contain an icon and label from the stock item indicated by stock_id.

More...
class MenuToolButton
static
newFromStock
(
string stockId
)

Parameters

stockId string

the name of a stock item

Return Value

Type: gtk.menu_tool_button.MenuToolButton

the new #GtkMenuToolButton

Detailed Description