RGtk2 (version 2.20.31)

gtkOptionMenuSetMenu: gtkOptionMenuSetMenu

Description

Provides the GtkMenu that is popped up to allow the user to choose a new value. You should provide a simple menu avoiding the use of tearoff menu items, submenus, and accelerators. WARNING: gtk_option_menu_set_menu has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkComboBox instead.

Usage

gtkOptionMenuSetMenu(object, menu)

Arguments

object
menu
the GtkMenu to associate with the GtkOptionMenu.