Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
See also the corresponding IDL class Application. More...
#include <clientapi.hh>
Inherits Rapicorn::Aida::SmartHandle.
Public Member Functions | |
const Rapicorn::Aida::TypeHashList | __aida_typelist__ () |
__Aida_Signal__missing_primary | sig_missing_primary () |
std::string | auto_path (const std::string &file_name, const std::string &binary_path, bool search_vpath=1) |
StringSeq | auto_load (const std::string &defs_domain, const std::string &file_name, const std::string &binary_path, const std::string &i18n_domain="") |
bool | factory_window (const std::string &factory_definition) |
void | load_string (const std::string &defs_domain, const std::string &xml_string, const std::string &i18n_domain="") |
WindowHandle | create_window (const std::string &window_identifier, const StringSeq &arguments=StringSeq()) |
bool | finishable () |
void | close_all () |
WindowHandle | query_window (const std::string &selector) |
WindowList | query_windows (const std::string &selector) |
WindowList | list_windows () |
ListModelRelayHandle | create_list_model_relay (const std::string &name="") |
void | test_counter_set (int val) |
void | test_counter_add (int val) |
int | test_counter_get () |
int | test_counter_inc_fetch () |
Rapicorn::Aida::int64 | test_hook () |
Static Public Member Functions | |
static Rapicorn::Aida::BaseConnection * | __aida_connection__ () |
template<class SmartHandle > | |
static ApplicationHandle | down_cast (SmartHandle smh) |
static int | run () |
Run the main event loop until all primary sources ceased to exist (see MainLoop::finishable()) or until the loop is quit. | |
static void | quit (int quit_code=0) |
Cause the application's main loop to quit, and run() to return quit_code. | |
static void | shutdown () |
This function causes proper termination of Rapicorn's concurrently running ui-thread and needs to be called before exit(3posix), to avoid parallel execution of the ui-thread while atexit(3posix) handlers or while global destructors are releasing process resources. | |
static int | run_and_exit () |
This function runs the Application main loop via loop_run(), and exits the running process once the loop has quit. | |
static ApplicationHandle | the () |
Static Protected Member Functions | |
static MainLoop * | main_loop () |
See also the corresponding IDL class Application.
int Rapicorn::ApplicationH::run | ( | ) | [static] |
Run the main event loop until all primary sources ceased to exist (see MainLoop::finishable()) or until the loop is quit.
int Rapicorn::ApplicationH::run_and_exit | ( | ) | [static] |
This function runs the Application main loop via loop_run(), and exits the running process once the loop has quit.
The loop_quit() status is passed on to exit() and thus to the parent process.
void Rapicorn::ApplicationH::shutdown | ( | ) | [static] |
This function causes proper termination of Rapicorn's concurrently running ui-thread and needs to be called before exit(3posix), to avoid parallel execution of the ui-thread while atexit(3posix) handlers or while global destructors are releasing process resources.
pass_through | The status to return. Useful at the end of main() as: return Application::shutdown (exit_status); |