GLib.Application – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Application
action_group
application_id
flags
inactivity_timeout
is_registered
is_remote
get_default
id_is_valid
Application
add_platform_data
after_emit
before_emit
dbus_register
dbus_unregister
get_application_id
get_dbus_connection
get_dbus_object_path
get_flags
get_inactivity_timeout
get_is_registered
get_is_remote
hold
local_command_line
quit
quit_mainloop
register
release
run
run_mainloop
set_action_group
set_application_id
set_default
set_flags
set_inactivity_timeout
activate
command_line
open
shutdown
startup
Application
Object Hierarchy:
Description:
public
class
Application
:
Object
,
ActionGroup
,
ActionMap
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
ActionGroup
action_group
{
set
; }
public
string
application_id
{
construct
set
;
get
; }
public
ApplicationFlags
flags
{
set
;
get
; }
public
uint
inactivity_timeout
{
set
;
get
; }
public
bool
is_registered
{
get
; }
public
bool
is_remote
{
get
; }
Static methods:
public
static
weak
Application
get_default
()
public
static
bool
id_is_valid
(
string
application_id)
Creation methods:
public
Application
(
string
? application_id,
ApplicationFlags
flags)
Methods:
public
virtual
void
add_platform_data
(
VariantBuilder
builder)
public
virtual
void
after_emit
(
Variant
platform_data)
public
virtual
void
before_emit
(
Variant
platform_data)
public
virtual
bool
dbus_register
(
DBusConnection
connection,
string
object_path)
throws
Error
public
virtual
void
dbus_unregister
(
DBusConnection
connection,
string
object_path)
public
unowned
string
get_application_id
()
public
weak
DBusConnection
get_dbus_connection
()
public
unowned
string
get_dbus_object_path
()
public
ApplicationFlags
get_flags
()
public
uint
get_inactivity_timeout
()
public
bool
get_is_registered
()
public
bool
get_is_remote
()
public
void
hold
()
public
virtual
bool
local_command_line
(
ref
string
[] arguments,
out
int
exit_status)
public
void
quit
()
public
virtual
void
quit_mainloop
()
public
bool
register
(
Cancellable
? cancellable =
null
)
throws
Error
public
void
release
()
public
int
run
(
string
[]? argv =
null
)
public
virtual
void
run_mainloop
()
public
void
set_action_group
(
ActionGroup
? action_group)
public
void
set_application_id
(
string
? application_id)
public
void
set_default
()
public
void
set_flags
(
ApplicationFlags
flags)
public
void
set_inactivity_timeout
(
uint
inactivity_timeout)
Signals:
public
virtual
signal
void
activate
()
public
virtual
signal
int
command_line
(
ApplicationCommandLine
command_line)
public
virtual
signal
void
open
(
File
[] files,
string
hint)
public
virtual
signal
void
shutdown
()
public
virtual
signal
void
startup
()
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count
All known members inherited from interface GLib.ActionGroup
activate_action
change_action_state
get_action_enabled
get_action_parameter_type
get_action_state
get_action_state_hint
get_action_state_type
has_action
list_actions
query_action
action_added
action_enabled_changed
action_removed
action_state_changed
All known members inherited from interface GLib.ActionMap
add_action
add_action_entries
lookup_action
remove_action