Available on crate feature
ffi only.Macros§
- Model
AdaptorV Table_ static - Instantiate a static ModelAdaptorVTable for a given type and implements
vtable::HasStaticVTable<ModelAdaptorVTable>for it.
Structs§
- Callback
User Data - Wrap the user_data provided by the native code and call the drop function on Drop.
- Component
Compiler Opaque - Component
Definition Opaque - Diagnostic
- Diagnostic describes the aspects of either a warning or an error, along with its location and a description. Diagnostics are typically returned by slint::interpreter::ComponentCompiler::diagnostics() in a vector.
- Model
AdaptorTO - Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
- Model
AdaptorV Table - Model
Notify Opaque 64-bit - Property
Descriptor - PropertyDescriptor is a simple structure that’s used to describe a property declared in .slint code. It is returned from in a vector from slint::interpreter::ComponentDefinition::properties().
- Struct
Iterator Opaque - Struct
Opaque 64-bit
Enums§
- Diagnostic
Level - DiagnosticLevel describes the severity of a diagnostic.
Traits§
- Model
Adaptor - Note: Was generated from the
#[vtable]macro onModelAdaptorVTable
Functions§
- slint_
interpreter_ ⚠component_ compiler_ build_ from_ path - slint_
interpreter_ ⚠component_ compiler_ build_ from_ source - slint_
interpreter_ ⚠component_ compiler_ destructor - slint_
interpreter_ ⚠component_ compiler_ get_ diagnostics - slint_
interpreter_ ⚠component_ compiler_ get_ include_ paths - slint_
interpreter_ ⚠component_ compiler_ get_ style - slint_
interpreter_ ⚠component_ compiler_ new - slint_
interpreter_ ⚠component_ compiler_ set_ include_ paths - slint_
interpreter_ ⚠component_ compiler_ set_ style - slint_
interpreter_ ⚠component_ compiler_ set_ translation_ domain - slint_
interpreter_ ⚠component_ definition_ callbacks - Returns the list of callback names of the component the component definition describes
- slint_
interpreter_ ⚠component_ definition_ clone - Construct a new Value in the given memory location
- slint_
interpreter_ ⚠component_ definition_ destructor - Destruct the component definition in that memory location
- slint_
interpreter_ ⚠component_ definition_ functions - Returns the list of function names of the component the component definition describes
- slint_
interpreter_ ⚠component_ definition_ global_ callbacks - Returns a vector of the names of the callbacks of the specified publicly exported global singleton. Returns true if a global exists under the specified name; false otherwise.
- slint_
interpreter_ ⚠component_ definition_ global_ functions - Returns a vector of the names of the functions of the specified publicly exported global singleton. Returns true if a global exists under the specified name; false otherwise.
- slint_
interpreter_ ⚠component_ definition_ global_ properties - Returns a vector of the property descriptors of the properties of the specified publicly exported global singleton. Returns true if a global exists under the specified name; false otherwise.
- slint_
interpreter_ ⚠component_ definition_ globals - Returns a vector of strings with the names of all exported global singletons.
- slint_
interpreter_ ⚠component_ definition_ name - Return the name of the component definition
- slint_
interpreter_ ⚠component_ definition_ properties - Returns the list of properties of the component the component definition describes
- slint_
interpreter_ ⚠component_ instance_ component_ definition - slint_
interpreter_ ⚠component_ instance_ create - Instantiate an instance from a definition.
- slint_
interpreter_ ⚠component_ instance_ get_ global_ property - Get a global property. Returns a raw boxed value on success; nullptr otherwise.
- slint_
interpreter_ component_ instance_ get_ property - Get a property. Returns a null pointer if the property does not exist.
- slint_
interpreter_ component_ instance_ invoke - Invoke a callback or function. Returns raw boxed value on success and null ptr on failure.
- slint_
interpreter_ ⚠component_ instance_ invoke_ global - Invoke a global callback or function. Returns raw boxed value on success; nullptr otherwise.
- slint_
interpreter_ ⚠component_ instance_ set_ callback - Set a handler for the callback.
The
callbackfunction must initialize theret(theretpassed to the callback is initialized and is assumed initialized after the function) - slint_
interpreter_ ⚠component_ instance_ set_ global_ callback - The
callbackfunction must initialize theret(theretpassed to the callback is initialized and is assumed initialized after the function) - slint_
interpreter_ component_ instance_ set_ global_ property - slint_
interpreter_ component_ instance_ set_ property - slint_
interpreter_ component_ instance_ show - Show or hide
- slint_
interpreter_ ⚠component_ instance_ window - Return a window for the component
- slint_
interpreter_ ⚠model_ notify_ destructor - Destruct the value in that memory location
- slint_
interpreter_ ⚠model_ notify_ new - Construct a new ModelNotifyNotify in the given memory region
- slint_
interpreter_ ⚠model_ notify_ reset - slint_
interpreter_ ⚠model_ notify_ row_ added - slint_
interpreter_ ⚠model_ notify_ row_ changed - slint_
interpreter_ ⚠model_ notify_ row_ removed - slint_
interpreter_ ⚠struct_ clone - Construct a new Struct in the given memory location
- slint_
interpreter_ ⚠struct_ destructor - Destruct the struct in that memory location
- slint_
interpreter_ struct_ get_ field - slint_
interpreter_ ⚠struct_ iterator_ destructor - slint_
interpreter_ ⚠struct_ iterator_ next - Advance the iterator and return the next value, or a null pointer
- slint_
interpreter_ struct_ make_ iter - slint_
interpreter_ ⚠struct_ new - Construct a new Struct in the given memory location
- slint_
interpreter_ struct_ set_ field - slint_
interpreter_ value_ clone - Construct a new Value in the given memory location
- slint_
interpreter_ value_ destructor - Destruct the value in that memory location
- slint_
interpreter_ value_ enum_ to_ string - slint_
interpreter_ value_ eq - slint_
interpreter_ value_ new - Construct a new Value in the given memory location
- slint_
interpreter_ value_ new_ array_ model - Construct a new Value in the given memory location as array model
- slint_
interpreter_ value_ new_ bool - Construct a new Value in the given memory location as bool
- slint_
interpreter_ value_ new_ brush - Construct a new Value in the given memory location as Brush
- slint_
interpreter_ value_ new_ double - Construct a new Value in the given memory location as double
- slint_
interpreter_ value_ new_ enum - slint_
interpreter_ value_ new_ image - Construct a new Value in the given memory location as image
- slint_
interpreter_ ⚠value_ new_ model - Construct a new Value containing a model in the given memory location
- slint_
interpreter_ value_ new_ string - Construct a new Value in the given memory location as string
- slint_
interpreter_ value_ new_ struct - Construct a new Value in the given memory location as Struct
- slint_
interpreter_ value_ to_ array - Extracts a
SharedVector<ValueOpaque>out of the given valueval, writes that into theoutparameter and returns true; returns false if the value does not hold an extractable array. - slint_
interpreter_ value_ to_ bool - slint_
interpreter_ value_ to_ brush - slint_
interpreter_ value_ to_ image - slint_
interpreter_ value_ to_ model - If the value contains a model set from [
slint_interpreter_value_new_model]with the same vtable pointer, return the model that was set. Returns a null ptr otherwise - slint_
interpreter_ value_ to_ number - slint_
interpreter_ value_ to_ string - slint_
interpreter_ value_ to_ struct - slint_
interpreter_ value_ type