HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs | Functions
async_delegate.hpp File Reference

Defines async_delegate and some default async delegates. More...

#include "../observer/observer.hpp"
#include "../utility/utility.hpp"
#include "../concurrency/concurrency.hpp"
#include "../dispatch/dispatch.hpp"
#include "../GUI/GUI.hpp"
#include "../macros.hpp"
#include <type_traits>
#include <memory>

Go to the source code of this file.

Data Structures

class  hi::v1::async_delegate
 A button delegate controls the state of a button widget. More...
 
class  hi::v1::default_async_delegate< ResultType >
 A default async button delegate. More...
 

Namespaces

namespace  hi
 The HikoGUI namespace.
 
namespace  hi::v1
 The HikoGUI API version 1.
 

Typedefs

template<typename FuncType , typename... ArgTypes>
using hi::v1::default_async_delegate_result_type
 

Functions

 hi_export_module (hikogui.widgets.async_delegate)
 
template<typename F , typename... Args>
 hi::v1::default_async_delegate (F &&func, Args &&... args) -> default_async_delegate< default_async_delegate_result_type< F, Args... > >
 

Detailed Description

Defines async_delegate and some default async delegates.