GtkMenu::detach

GtkMenu::detach

detach() detaches the calling GtkMenu from its current parent widget. This method is used internally when the menu is being destroyed.

Calling the detach() method after the menu has been set as a submenu, unsets that relationship in exactly the same way as remove_submenu() would. The difference is that the attached widget does not necessarily need to be a GtkMenuItem for detach() to work.

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