Lifetime

Categoryclass
Typehime_lifetime_t

Initialize runtime and message loop.

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

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

Return

int

void hime_lifetime_quit(self)

Quit message loop.

Parameters

Return

void

Events

void hime_lifetime_on_ready()

Emitted when it is ready to create GUI.

Preventable

No.