idle_
add
idle_
source
quit
run
source_
remove
timeout_
add
timeout_
add_
seconds
timeout_
seconds_
source
timeout_
source
GJS API Reference
Gjs
Mainloop
Namespace Mainloop
Index
Functions
idle_
add
idle_
source
quit
run
source_
remove
timeout_
add
timeout_
add_
seconds
timeout_
seconds_
source
timeout_
source
Functions
idle_
add
idle_
add
(
handler
:
any
, priority
:
number
)
:
any
Parameters
handler:
any
priority:
number
Returns
any
idle_
source
idle_
source
(
handler
:
any
, priority
:
number
)
:
any
Parameters
handler:
any
priority:
number
Returns
any
quit
quit
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
run
run
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
source_
remove
source_
remove
(
id
:
any
)
:
any
Parameters
id:
any
Returns
any
timeout_
add
timeout_
add
(
timeout
:
any
, handler
:
any
, priority
:
number
)
:
any
Parameters
timeout:
any
handler:
any
priority:
number
Returns
any
timeout_
add_
seconds
timeout_
add_
seconds
(
timeout
:
any
, handler
:
any
, priority
:
number
)
:
any
Parameters
timeout:
any
handler:
any
priority:
number
Returns
any
timeout_
seconds_
source
timeout_
seconds_
source
(
timeout
:
any
, handler
:
any
, priority
:
number
)
:
any
Parameters
timeout:
any
handler:
any
priority:
number
Returns
any
timeout_
source
timeout_
source
(
timeout
:
any
, handler
:
any
, priority
:
number
)
:
any
Parameters
timeout:
any
handler:
any
priority:
number
Returns
any
idle_
add
idle_
source
quit
run
source_
remove
timeout_
add
timeout_
add_
seconds
timeout_
seconds_
source
timeout_
source
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWZ1bmN0aW9uIHRzZC1wYXJlbnQta2luZC1uYW1lc3BhY2UiLCJocmVmIjoiR2pzLk1haW5sb29wLmh0bWwjaWRsZV9hZGQiLCJuYW1lIjoiaWRsZV9hZGQiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1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