7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
32 #include <sigc++/sigc++.h>
34 #include <glibmm/optioncontext.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 #ifndef GTKMM_DISABLE_DEPRECATED
63 typedef sigc::slot<void> SlotType;
65 sigc::connection connect(
const SlotType& slot);
68 static gboolean gtk_callback(gpointer data);
77 typedef sigc::slot<bool> SlotType;
79 sigc::connection connect(
const SlotType& slot, guint main_level = 0);
82 static gboolean gtk_callback(gpointer data);
91 typedef sigc::slot<int, Widget*, GdkEventKey*> SlotType;
93 sigc::connection connect(
const SlotType& slot);
127 class Main :
public sigc::trackable
150 Main(
int& argc,
char**& argv, Glib::OptionContext& option_context);
160 Main(
int* argc,
char*** argv,
bool set_locale =
true);
163 Main(
int& argc,
char**& argv,
bool set_locale =
true);
230 #ifndef GTKMM_DISABLE_DEPRECATED
276 void init(
int* argc,
char*** argv,
bool set_locale);
290 #ifndef GTKMM_DISABLE_DEPRECATED
static void add_gtk_option_group(Glib::OptionContext &option_context, bool open_default_display=true)
static bool events_pending()
Main(int &argc, char **&argv, bool set_locale=true)
See Main(int* argc, char*** argv, bool set_locale).
static RunSig signal_run_
virtual bool events_pending_impl()
virtual bool iteration_impl(bool blocking)
void init(int *argc, char ***argv, bool set_locale)
virtual void on_window_hide()
static Gtk::Main * instance()
Access to the one global instance of Gtk::Main.
static KeySnooperSig signal_key_snooper_
static void run(Window &window)
static void init_gtkmm_internals()
virtual guint level_impl()
static KeySnooperSig & signal_key_snooper()
static bool iteration(bool blocking=true)
static QuitSig & signal_quit()
Main(int *argc, char ***argv, bool set_locale=true)
static RunSig & signal_run()
static QuitSig signal_quit_
Main(int &argc, char **&argv, Glib::OptionContext &option_context)