Class SpinnerPaintable
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class SpinnerPaintable : Object, Paintable, SymbolicPaintable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
SpinnerPaintable
- Implements
- Inherited Members
Constructors
SpinnerPaintable(SpinnerPaintableHandle)
protected SpinnerPaintable(SpinnerPaintableHandle handle)
Parameters
handleSpinnerPaintableHandle
SpinnerPaintable(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SpinnerPaintable(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
SpinnerPaintable(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SpinnerPaintable(CreationData data)
Parameters
dataCreationData
Fields
InvalidateContentsSignal
Signal Descriptor for OnInvalidateContents.
public static readonly Signal<Paintable> InvalidateContentsSignal
Field Value
InvalidateSizeSignal
Signal Descriptor for OnInvalidateSize.
public static readonly Signal<Paintable> InvalidateSizeSignal
Field Value
WidgetPropertyDefinition
public static readonly Property<Widget?, SpinnerPaintable> WidgetPropertyDefinition
Field Value
Properties
Widget
public Widget? Widget { get; set; }
Property Value
Methods
ComputeConcreteSize(double, double, double, double, out double, out double)
public void ComputeConcreteSize(double specifiedWidth, double specifiedHeight, double defaultWidth, double defaultHeight, out double concreteWidth, out double concreteHeight)
Parameters
specifiedWidthdoublespecifiedHeightdoubledefaultWidthdoubledefaultHeightdoubleconcreteWidthdoubleconcreteHeightdouble
GetCurrentImage()
public Paintable GetCurrentImage()
Returns
GetFlags()
public PaintableFlags GetFlags()
Returns
GetGType()
public static Type GetGType()
Returns
GetIntrinsicAspectRatio()
public double GetIntrinsicAspectRatio()
Returns
GetIntrinsicHeight()
public int GetIntrinsicHeight()
Returns
GetIntrinsicWidth()
public int GetIntrinsicWidth()
Returns
GetWidget()
[Version("1.6")]
public Widget? GetWidget()
Returns
InvalidateContents()
public void InvalidateContents()
InvalidateSize()
public void InvalidateSize()
New(Widget?)
[Version("1.6")]
public static SpinnerPaintable New(Widget? widget)
Parameters
widgetWidget
Returns
NewFromPointer(nint, bool)
Creates a new managed SpinnerPaintable instance for a given pointer.
public static SpinnerPaintable NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SpinnerPaintable and sets the properties specified by the construct arguments.
public static SpinnerPaintable NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetWidget(Widget?)
[Version("1.6")]
public void SetWidget(Widget? widget)
Parameters
widgetWidget
Snapshot(Snapshot, double, double)
public void Snapshot(Snapshot snapshot, double width, double height)
Parameters
SnapshotSymbolic(Snapshot, double, double, RGBA[])
[Version("4.6")]
public void SnapshotSymbolic(Snapshot snapshot, double width, double height, RGBA[] colors)
Parameters
Events
OnInvalidateContents
public event SignalHandler<Paintable> OnInvalidateContents
Event Type
OnInvalidateSize
public event SignalHandler<Paintable> OnInvalidateSize