GtkMenu::set_active

GtkMenu::set_active

set_active() sets the 'active' GtkMenuItem in a GtkMenu. Note that this is not the same thing as calling the select() from the menu item, but is a way of adding to the given item's reference count from the menu.

The set_active() method is mainly used internally in GTK, as part of GtkOptionMenu's set_history() method.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.