50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

RGtk2 (version 2.20.31)

gtkMenuSetActive: gtkMenuSetActive

Description

Selects the specified menu item within the menu. This is used by the GtkOptionMenu and should not be used by anyone else.

Usage

gtkMenuSetActive(object, index)

Arguments

object
index
the index of the menu item to select. Index values are from 0 to n-1.