Logo Search packages:      
Sourcecode: ardour version File versions

const Widget * Gtk::Window::get_focus (  )  const

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 546 of file window.cc.

References gobj().

  return Glib::wrap(gtk_window_get_focus(const_cast<GtkWindow*>(gobj())));

Generated by  Doxygen 1.6.0   Back to index