Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::set_focus ( Gtk::Widget focus  ) 

If focus is not the current focus widget, and is focusable, sets it as the focus widget for the window. To set the focus to a particular widget in the toplevel, it is usually more convenient to use Gtk::Widget::grab_focus() instead of this function.

focus Widget to be the new focus widget.

Definition at line 536 of file window.cc.

References gobj().

  gtk_window_set_focus(gobj(), (focus).gobj());

Generated by  Doxygen 1.6.0   Back to index