Singleton class that operates the main Tcl event loop. More...
#include <tcl/eventloop.h>
Public Member Functions | |
event_loop (int argc, char **argv, bool nowindow) | |
Static Public Member Functions | |
static bool | is_interactive () |
static tcl::interpreter & | interp () |
static void | run () |
static int | argc () |
Get the application's number of command-line arguments. | |
static const char *const * | argv () |
Get the application's command-line arguments. | |
static rutz::fstring | command_line () |
Get the whole command-line as a single string. |
Singleton class that operates the main Tcl event loop.
Its responsibilities include gathering text commands from standard input, dispatching window-system events, and dispatching timer-callbacks and idle-callbacks.
Definition at line 54 of file eventloop.h.
int tcl::event_loop::argc | ( | ) | [static] |
Get the application's number of command-line arguments.
Definition at line 694 of file eventloop.cc.
const char *const * tcl::event_loop::argv | ( | ) | [static] |
Get the application's command-line arguments.
Definition at line 700 of file eventloop.cc.
rutz::fstring tcl::event_loop::command_line | ( | ) | [static] |
Get the whole command-line as a single string.
Definition at line 706 of file eventloop.cc.