CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui::use_context_delegate Struct Reference

Static Public Member Functions

template<typename ContextType>
static void set_state (use_context< ContextType > *it, const cydui::components::component_state_ref &state)
 
template<typename ContextType>
static void set_context (use_context< ContextType > *it, ContextType *ctx)
 
template<typename ContextType>
static void set_context (use_context< const ContextType > *it, ContextType *ctx)
 
template<typename ContextType>
static void set_owns_context (use_context< ContextType > *it, bool value)
 
template<typename ContextType>
static void start_listening (use_context< ContextType > *it)
 

Detailed Description

Definition at line 212 of file component_contexts.cppm.

Member Function Documentation

◆ set_context() [1/2]

template<typename ContextType>
static void cydui::use_context_delegate::set_context ( use_context< const ContextType > * it,
ContextType * ctx )
inlinestatic

Definition at line 223 of file component_contexts.cppm.

◆ set_context() [2/2]

template<typename ContextType>
static void cydui::use_context_delegate::set_context ( use_context< ContextType > * it,
ContextType * ctx )
inlinestatic

Definition at line 219 of file component_contexts.cppm.

◆ set_owns_context()

template<typename ContextType>
static void cydui::use_context_delegate::set_owns_context ( use_context< ContextType > * it,
bool value )
inlinestatic

Definition at line 227 of file component_contexts.cppm.

◆ set_state()

template<typename ContextType>
static void cydui::use_context_delegate::set_state ( use_context< ContextType > * it,
const cydui::components::component_state_ref & state )
inlinestatic

Definition at line 215 of file component_contexts.cppm.

◆ start_listening()

template<typename ContextType>
static void cydui::use_context_delegate::start_listening ( use_context< ContextType > * it)
inlinestatic

Definition at line 231 of file component_contexts.cppm.


The documentation for this struct was generated from the following file: