RootT.getFocus

Retrieves the current focused widget within the root.

Note that this is the widget that would have the focus if the root is active; if the root is not focused then gtk_widget_has_focus (widget) will be %FALSE for the widget.

template RootT(TStruct)
Widget
getFocus
()

Return Value

Type: Widget

the currently focused widget, or %NULL if there is none.

Meta