Ardour
9.0-pre0-582-g084a23a80d
|
#include <cstdlib>
#include <gtkmm2ext/gtk_ui.h>
#include <boost/bind/protect.hpp>
#include "gtkmm2ext/visibility.h"
Go to the source code of this file.
Macros | |
#define | ENSURE_GUI_THREAD(obj, method, ...) if (!Gtkmm2ext::UI::instance()->caller_is_self()) { abort (); } |
#define | gui_context() Gtkmm2ext::UI::instance() /* a UICallback-derived object that specifies the event loop for GUI signal handling */ |
#define | ui_bind(f, ...) boost::protect (std::bind (f, __VA_ARGS__)) |
#define | invalidator(x) PBD::EventLoop::__invalidator ((x), __FILE__, __LINE__) |
#define ENSURE_GUI_THREAD | ( | obj, | |
method, | |||
... | |||
) | if (!Gtkmm2ext::UI::instance()->caller_is_self()) { abort (); } |
Definition at line 27 of file libs/gtkmm2ext/gtkmm2ext/gui_thread.h.
#define gui_context | ( | ) | Gtkmm2ext::UI::instance() /* a UICallback-derived object that specifies the event loop for GUI signal handling */ |
Definition at line 29 of file libs/gtkmm2ext/gtkmm2ext/gui_thread.h.
#define invalidator | ( | x | ) | PBD::EventLoop::__invalidator ((x), __FILE__, __LINE__) |
Definition at line 32 of file libs/gtkmm2ext/gtkmm2ext/gui_thread.h.
#define ui_bind | ( | f, | |
... | |||
) | boost::protect (std::bind (f, __VA_ARGS__)) |
Definition at line 30 of file libs/gtkmm2ext/gtkmm2ext/gui_thread.h.