Logo Search packages:      
Sourcecode: ardour version File versions

bool Gtk::Widget::is_focus (  )  const [inherited]

Determines if the widget is the focus widget within its toplevel. (This does not mean that the HAS_FOCUS flag is necessarily set; HAS_FOCUS will only be set if the toplevel widget additionally has the global input focus.)

true if the widget is the focus widget.

Definition at line 5183 of file widget.cc.

References Gtk::Widget::gobj().

  return gtk_widget_is_focus(const_cast<GtkWidget*>(gobj()));

Generated by  Doxygen 1.6.0   Back to index