Go to the documentation of this file.
   25 #ifndef CGU_APPLICATION_H 
   26 #define CGU_APPLICATION_H 
   46 #if defined(DOXYGEN_PARSING) || defined(CGU_USE_GTK) 
   47 #if defined(DOXYGEN_PARSING) || GTK_CHECK_VERSION(2,99,0) 
   55   virtual const char* 
what() 
const throw() {
return "ApplicationNameError\n";}
 
  411   std::list<WinBase*> win_list;
 
  627   int run(
int argc, 
char** argv) {
 
  628     return g_application_run((GApplication*)app.
get(), argc, argv);
 
  710   Application(
const char* prog_name, GApplicationFlags flags);
 
  732 #endif // GTK_CHECK_VERSION 
  733 #endif // CGU_USE_GTK 
  737 #endif // CGU_APPLICATION_H 
  
Cgu::SafeEmitterArg< Cgu::Application *, GApplicationCommandLine *, gint & > command_line
Definition: application.h:496
This is a class for managing the lifetime of top level widgets.
Definition: window.h:227
Definition: application.h:44
Application(const Application &)=delete
bool remove(Cgu::WinBase *win)
This class is thrown when the program id name passed to the constructor of Cgu::Application is invali...
Definition: application.h:54
~Application()
Definition: application.h:725
Cgu::SafeEmitterArg< Cgu::Application *, std::pair< GFile **, gint >, gchar * > open
Definition: application.h:523
This is a class for constructing and managing GtkApplication objects.
Definition: application.h:409
virtual const char * what() const
Definition: application.h:55
void add(Cgu::WinBase *win)
Cgu::SafeEmitterArg< Cgu::Application * > startup
Definition: application.h:462
std::list< Cgu::WinBase * > get_windows() const
Definition: application.h:659
#define CGU_GLIB_MEMORY_SLICES_FUNCS
Definition: cgu_config.h:84
size_type get_win_count() const
Definition: application.h:684
std::list< WinBase * >::size_type size_type
Definition: application.h:417
GApplication * get_g_app() const
Definition: application.h:642
int run(int argc, char **argv)
Definition: application.h:627
This file provides a thread-safe signal/slot mechanism, with automatic disconnection.
Application & operator=(const Application &)=delete
Cgu::SafeEmitterArg< Cgu::Application * > activate
Definition: application.h:442
T * get() const noexcept
Definition: gobj_handle.h:292