Template Class ComponentHandle๏ƒ

Class Documentation๏ƒ

template<typename T>
class ComponentHandle๏ƒ

The component handle is like a shared pointer to a component in the generated code. In order to get a component, use T::create() where T is the name of the component in the .slint file. This give you a ComponentHandle<T>

Public Functions

inline ComponentHandle(const vtable::VRc<private_api::ComponentVTable, T> &inner)๏ƒ

internal constructor

inline const T *operator->() const๏ƒ

Arrow operator that implements pointer semantics.

inline const T &operator*() const๏ƒ

Dereference operator that implements pointer semantics.

inline T *operator->()๏ƒ

Arrow operator that implements pointer semantics.

inline T &operator*()๏ƒ

Dereference operator that implements pointer semantics.

inline vtable::VRc<private_api::ComponentVTable> into_dyn() const๏ƒ

internal function that returns the internal handle