Method

GtkMenuToolButtonset_menu

since: 2.6

Declaration [src]

void
gtk_menu_tool_button_set_menu (
  GtkMenuToolButton* button,
  GtkWidget* menu
)

Description [src]

Sets the GtkMenu that is popped up when the user clicks on the arrow. If menu is NULL, the arrow button becomes insensitive.

Available since: 2.6

Parameters

menu

Type: GtkWidget

The GtkMenu associated with GtkMenuToolButton.

The data is owned by the caller of the method.