Application
Class
constructor
name
activate
add_
platform_
data
after_
emit
before_
emit
command_
line
dbus_
register
dbus_
unregister
handle_
local_
options
local_
command_
line
name_
lost
open
quit_
mainloop
run_
mainloop
shutdown
startup
GJS API Reference
Gio-2.0
Gio
ApplicationClass
Class ApplicationClass
Virtual function table for #GApplication.
record
Hierarchy
ApplicationClass
Index
Constructors
constructor
Properties
name
Methods
activate
add_
platform_
data
after_
emit
before_
emit
command_
line
dbus_
register
dbus_
unregister
handle_
local_
options
local_
command_
line
name_
lost
open
quit_
mainloop
run_
mainloop
shutdown
startup
Constructors
constructor
new
Application
Class
(
)
:
Gio
.
ApplicationClass
Returns
Gio
.
ApplicationClass
Properties
Static
name
name
:
string
Methods
activate
activate
(
application
:
Gio
.
Application
)
:
void
Parameters
application:
Gio
.
Application
Returns
void
add_
platform_
data
add_
platform_
data
(
application
:
Gio
.
Application
, builder
:
VariantBuilder
)
:
void
Parameters
application:
Gio
.
Application
builder:
VariantBuilder
Returns
void
after_
emit
after_
emit
(
application
:
Gio
.
Application
, platform_data
:
GLib
.
Variant
)
:
void
Parameters
application:
Gio
.
Application
platform_data:
GLib
.
Variant
Returns
void
before_
emit
before_
emit
(
application
:
Gio
.
Application
, platform_data
:
GLib
.
Variant
)
:
void
Parameters
application:
Gio
.
Application
platform_data:
GLib
.
Variant
Returns
void
command_
line
command_
line
(
application
:
Gio
.
Application
, command_line
:
ApplicationCommandLine
)
:
number
Parameters
application:
Gio
.
Application
command_line:
ApplicationCommandLine
Returns
number
dbus_
register
dbus_
register
(
application
:
Gio
.
Application
, connection
:
DBusConnection
, object_path
:
string
)
:
boolean
Parameters
application:
Gio
.
Application
connection:
DBusConnection
object_path:
string
Returns
boolean
dbus_
unregister
dbus_
unregister
(
application
:
Gio
.
Application
, connection
:
DBusConnection
, object_path
:
string
)
:
void
Parameters
application:
Gio
.
Application
connection:
DBusConnection
object_path:
string
Returns
void
handle_
local_
options
handle_
local_
options
(
application
:
Gio
.
Application
, options
:
VariantDict
)
:
number
Parameters
application:
Gio
.
Application
options:
VariantDict
Returns
number
local_
command_
line
local_
command_
line
(
application
:
Gio
.
Application
, arguments_
:
string
[]
)
:
[
boolean
,
string
[]
,
number
]
Parameters
application:
Gio
.
Application
arguments_:
string
[]
Returns
[
boolean
,
string
[]
,
number
]
name_
lost
name_
lost
(
application
:
Gio
.
Application
)
:
boolean
Parameters
application:
Gio
.
Application
Returns
boolean
open
open
(
application
:
Gio
.
Application
, files
:
Gio
.
File
[]
, hint
:
string
)
:
void
Parameters
application:
Gio
.
Application
files:
Gio
.
File
[]
hint:
string
Returns
void
quit_
mainloop
quit_
mainloop
(
application
:
Gio
.
Application
)
:
void
Parameters
application:
Gio
.
Application
Returns
void
run_
mainloop
run_
mainloop
(
application
:
Gio
.
Application
)
:
void
Parameters
application:
Gio
.
Application
Returns
void
shutdown
shutdown
(
application
:
Gio
.
Application
)
:
void
Parameters
application:
Gio
.
Application
Returns
void
startup
startup
(
application
:
Gio
.
Application
)
:
void
Parameters
application:
Gio
.
Application
Returns
void
Application
Class
constructor
name
activate
add_
platform_
data
after_
emit
before_
emit
command_
line
dbus_
register
dbus_
unregister
handle_
local_
options
local_
command_
line
name_
lost
open
quit_
mainloop
run_
mainloop
shutdown
startup
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5BcHBsaWNhdGlvbkNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6Ikdpb18yXzAuR2lvLkFwcGxpY2F0aW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