Package ch.bailu.gtk.gtk
Klasse Root
- Alle implementierten Schnittstellen:
PointerInterface
An interface for widgets that can act as the root of a widget hierarchy.
The root widget takes care of providing the connection to the windowing
system and manages layout, drawing and event delivery for its widget
hierarchy.
The obvious example of a `GtkRoot` is `GtkWindow`.
To get the display to which a `GtkRoot` belongs, use
[method@Gtk.Root.get_display].
`GtkRoot` also maintains the location of keyboard focus inside its widget
hierarchy, with [method@Gtk.Root.set_focus] and [method@Gtk.Root.get_focus].
The root widget takes care of providing the connection to the windowing
system and manages layout, drawing and event delivery for its widget
hierarchy.
The obvious example of a `GtkRoot` is `GtkWindow`.
To get the display to which a `GtkRoot` belongs, use
[method@Gtk.Root.get_display].
`GtkRoot` also maintains the location of keyboard focus inside its widget
hierarchy, with [method@Gtk.Root.set_focus] and [method@Gtk.Root.get_focus].
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerReturns the display that this `GtkRoot` is on.getFocus()Retrieves the current focused widget within the root.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizevoidIf @focus is not the current focus widget, and is focusable, sets
it as the focus widget for the root.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Root
-
-
Methodendetails
-
getClassHandler
-
getDisplay
Returns the display that this `GtkRoot` is on.- Gibt zurück:
- the display of @root
-
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.- Gibt zurück:
- the currently focused widget
-
setFocus
If @focus is not the current focus widget, and is focusable, sets
it as the focus widget for the root.
If @focus is %NULL, unsets the focus widget for the root.
To set the focus to a particular widget in the root, it is usually
more convenient to use [method@Gtk.Widget.grab_focus] instead of
this function.- Parameter:
focus- widget to be the new focus widget, or %NULL to unset the focus widget
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-