Package ch.bailu.gtk.adw
Klasse SpinnerPaintable
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.adw.SpinnerPaintable
- Alle implementierten Schnittstellen:
PointerInterface
A paintable showing a loading spinner.
<picture>
<source srcset="spinner-dark.png" media="(prefers-color-scheme: dark)">
<img src="spinner.png" alt="spinner">
</picture>
`AdwSpinnerPaintable` size varies depending on the available space, but is
capped at 64×64 pixels.
To be able to animate, `AdwSpinnerPaintable` needs a widget. It will be
animated according to that widget's frame clock, and only if that widget is
mapped. Ideally it should be the same widget the paintable is displayed in,
but that's not a requirement.
Most applications should be using [class@Spinner] instead.
`AdwSpinnerPaintable` is provided for the cases where using a widget is
impractical or impossible, such as [property@StatusPage:paintable]:
```xml
<object class="AdwStatusPage" id="status_page">
<property name="paintable">
<object class="AdwSpinnerPaintable">
<property name="widget">status_page</property>
</object>
</property>
<!-- ... -->
</object>
```
<picture>
<source srcset="spinner-dark.png" media="(prefers-color-scheme: dark)">
<img src="spinner.png" alt="spinner">
</picture>
`AdwSpinnerPaintable` size varies depending on the available space, but is
capped at 64×64 pixels.
To be able to animate, `AdwSpinnerPaintable` needs a widget. It will be
animated according to that widget's frame clock, and only if that widget is
mapped. Ideally it should be the same widget the paintable is displayed in,
but that's not a requirement.
Most applications should be using [class@Spinner] instead.
`AdwSpinnerPaintable` is provided for the cases where using a widget is
impractical or impossible, such as [property@StatusPage:paintable]:
```xml
<object class="AdwStatusPage" id="status_page">
<property name="paintable">
<object class="AdwSpinnerPaintable">
<property name="widget">status_page</property>
</object>
</property>
<!-- ... -->
</object>
```
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.SpinnerPaintable.html
-
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
KonstruktorenKonstruktorBeschreibungSpinnerPaintable
(Widget widget) Creates a new `AdwSpinnerPaintable` for @widget.SpinnerPaintable
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfacePaintable
.Implements interfaceSymbolicPaintable
.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Gets the widget used for frame clock.void
Sets the widget used for frame clock.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von 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, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
SpinnerPaintable
-
SpinnerPaintable
Creates a new `AdwSpinnerPaintable` for @widget.- Parameter:
widget
- the widget used for frame clock
-
-
Methodendetails
-
getClassHandler
-
getWidget
Gets the widget used for frame clock.- Gibt zurück:
- the widget
-
setWidget
Sets the widget used for frame clock.- Parameter:
widget
- the widget to use for frame clock
-
asPaintable
Implements interfacePaintable
. Call this to get access to interface functions.- Gibt zurück:
Paintable
-
asSymbolicPaintable
Implements interfaceSymbolicPaintable
. Call this to get access to interface functions.- Gibt zurück:
SymbolicPaintable
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-