Method

GtkMenuToolButtonset_menu

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 GtkWidget
 

The GtkMenu associated with GtkMenuToolButton.

 The data is owned by the caller of the function.