Logo Search packages:      
Sourcecode: ardour version File versions

Widget * Gtk::Window::get_focus (  ) 

Retrieves the current focused widget within the window. Note that this is the widget that would have the focus if the toplevel window focused; if the toplevel window is not focused then GTK_WIDGET_HAS_FOCUS (widget) will not be true for the widget.

The currently focused widget, or 0 if there is none.

Definition at line 541 of file window.cc.

References gobj().

  return Glib::wrap(gtk_window_get_focus(gobj()));

Generated by  Doxygen 1.6.0   Back to index