Boost.UI
User Interface Boost library
|
Go to the documentation of this file.
8 #ifndef BOOST_UI_WINDOW_HPP
9 #define BOOST_UI_WINDOW_HPP
13 #ifdef BOOST_HAS_PRAGMA_ONCE
32 void veto() { m_veto =
true; }
36 boost::function<void(
bool)> m_veto_fn;
37 boost::function<void(
bool)> m_skip_fn;
40 template <
class NativeEvent,
class UIEvent>
41 friend class native::event_functor_event;
71 BOOST_UI_DETAIL_HANDLER(close,
window);
76 void on_close_raw(
const boost::function<
void()>& handler);
77 void on_close_event_raw(
const boost::function<
void(
close_event&)>& handler);
82 #endif // BOOST_UI_WINDOW_HPP
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
Close event class.
Definition: window.hpp:25
void veto()
Don't close application.
Definition: window.hpp:32
Boost C++ libraries namespace.
Definition: window.hpp:19
Base class for all events.
Definition: event.hpp:37
Abstract top level widget that hosts other widgets.
Definition: window.hpp:53