GtkWindow::set_focus

GtkWindow::set_focus

set_focus() sets the focus to the child widget passed as the parameter. The child must have the flag GTK_CAN_FOCUS set in order to be allowed focus. Some widgets are created with this flag already set (including the GtkButton widget), others are not.

See also: GtkWidgetFlags, GtkWidget, set_flags() .

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