Lifetime
Initialize runtime and message loop.
Category | class |
Type | hime_lifetime_t |
Constructors
hime_lifetime_t hime_lifetime_create() win
Create a Lifetime instance for current thread.
Return
hime_lifetime_t
hime_lifetime_t hime_lifetime_create(argc, argv) mac linux
Create a Lifetime instance for current thread.
Parameters
int
argcconst char**
argv
Return
hime_lifetime_t
Class methods
hime_lifetime_t hime_lifetime_get_current()
Return the Lifetime instance in current thread.
Return
hime_lifetime_t
Methods
int hime_lifetime_run_main(self)
Enter message loop.
Parameters
hime_lifetime_t
self
Return
int
void hime_lifetime_quit(self)
Quit message loop.
Parameters
hime_lifetime_t
self
Return
void
Events
void hime_lifetime_on_ready()
Emitted when it is ready to create GUI.
Preventable
No.