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

Defines delegate_delegate and some default tab 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 <memory>
#include <functional>

Go to the source code of this file.

Data Structures

class  hi::v1::tab_delegate
 A delegate that controls the state of a tab_widget. More...
 
class  hi::v1::default_tab_delegate< T >
 A delegate that control the state of a tab_widget. More...
 

Namespaces

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

Functions

 hi_export_module (hikogui.widgets.tab_delegate)
 
template<typename Value >
requires requires { default_tab_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; }
std::shared_ptr< tab_delegatehi::v1::make_default_tab_delegate (Value &&value) noexcept
 Create a shared pointer to a default tab delegate.
 

Detailed Description

Defines delegate_delegate and some default tab delegates.