Re: optionmenu



Slyder <slyder earendel org> writes:
GtkOptionMenus have a func to get the index of the selected menu item -
is there a way to get the associated text?

Only by digging into the GtkLabel inside the GtkMenuItem, or setting
object data on the menu item.

Most apps do not do this, because the text will potentially be
internationalized.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]