37 #include <glibmm/thread.h>
41 #ifndef GTK_NEW_TOOLTIP_API
48 #ifndef ABSTRACT_UI_EXPORTS
49 #define ABSTRACT_UI_EXPORTS
86 int (*
function)(
void *);
99 free (
const_cast<char *
>(msg));
111 _ui.receive (chn, msg);
120 UI (std::string, std::string,
int *argc,
char **argv[]);
169 Glib::RefPtr<Gtk::TextBuffer::Tag> ptag, Glib::RefPtr<Gtk::TextBuffer::Tag> mtag,
177 #ifndef GTK_NEW_TOOLTIP_API
void receive(Transmitter::Channel chn, const char *msg)
static bool just_hide_it(GdkEventAny *, Gtk::Window *)
bool color_selection_deleted(GdkEventAny *)
Glib::RefPtr< Gtk::TextBuffer::Tag > info_mtag
Glib::RefPtr< Gtk::TextBuffer::Tag > fatal_ptag
UI(std::string, std::string, int *argc, char **argv[])
virtual void handle_fatal(const char *)
virtual void display_message(const char *prefix, gint prefix_len, Glib::RefPtr< Gtk::TextBuffer::Tag > ptag, Glib::RefPtr< Gtk::TextBuffer::Tag > mtag, const char *msg)
Glib::Threads::Mutex error_lock
Glib::RefPtr< Gtk::TextBuffer::Tag > warning_ptag
Gtkmm2ext::Bindings * global_bindings
void idle_add(int(*func)(void *), void *arg)
Glib::RefPtr< Gtk::TextBuffer::Tag > error_ptag
void set_tip(Gtk::Widget *w, const gchar *tip, const gchar *hlp="")
Glib::RefPtr< Gtk::TextBuffer::Tag > fatal_mtag
void process_error_message(Transmitter::Channel, const char *)
void run(Receiver &old_receiver)
void popup_error(const std::string &text)
void dump_errors(std::ostream &, size_t limit=0)
static void signal_pipe_callback(void *, gint, GdkInputCondition)
void flush_pending(float timeout=0)
sigc::signal< void > theme_changed
Glib::RefPtr< Gtk::TextBuffer::Tag > error_mtag
void receive(Transmitter::Channel, const char *)
Glib::RefPtr< Gtk::TextBuffer::Tag > warning_mtag
Glib::RefPtr< Gtk::TextBuffer::Tag > debug_mtag
int load_rcfile(std::string, bool themechange=false)
void set_tip(Gtk::Widget &w, const std::string &tip)
void color_selection_done(bool status)
std::list< std::string > error_stack
void set_tip(Gtk::Widget &w, const gchar *tip)
Glib::RefPtr< Gtk::TextBuffer::Tag > debug_ptag
void set_state(Gtk::Widget *w, Gtk::StateType state)
Glib::RefPtr< Gtk::TextBuffer::Tag > info_ptag
void touch_display(Touchable *)
void do_request(UIRequest *)
bool caller_is_ui_thread() const
BaseUI::RequestType TouchDisplay
BaseUI::RequestType AddTimeout
BaseUI::RequestType StateChange
BaseUI::RequestType ErrorMessage
BaseUI::RequestType SetTip
BaseUI::RequestType CallSlot
BaseUI::RequestType AddIdle
BaseUI::RequestType NullMessage