gtkOptionMenuSetMenu {RGtk2} | R Documentation

## 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`` | a `GtkOptionMenu`.
``menu`` | the `GtkMenu` to associate with the `GtkOptionMenu`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]