Constructor
GtkMenuToolButtonnew
since: 2.6
Declaration [src]
GtkToolItem*
gtk_menu_tool_button_new (
GtkWidget* icon_widget,
const gchar* label
)
Description [src]
Creates a new GtkMenuToolButton using icon_widget as icon and
label as label.
Available since: 2.6
Parameters
icon_widget-
Type:
GtkWidgetA widget that will be used as icon widget, or
NULL.The argument can be NULL.The data is owned by the caller of the function. label-
Type:
const gchar*A string that will be used as label, or
NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GtkToolItem
The new GtkMenuToolButton.
| The data is owned by the called function. |