Ags.Priority¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
  | 
|
  | 
Properties¶
None
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
The   | 
|
The   | 
|
The   | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
build_id  | 
r  | 
||
flags  | 
r  | 
||
gobject  | 
r  | 
||
key_file  | 
r  | 
||
obj_mutex  | 
r  | 
||
version  | 
r  | 
Class Details¶
- class Ags.Priority(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod get_instance()¶
 - Returns:
 the priority instance
- Return type:
 
Get priority instance.
New in version 3.0.0.
- classmethod new()¶
 - Returns:
 the new
Ags.Priority.- Return type:
 
Create a new instance of
Ags.Priority.New in version 3.0.0.
- get_value(group, key)¶
 - Parameters:
 - Returns:
 the property’s value
- Return type:
 
Retrieve priority by group and key.
New in version 3.0.0.
- load_defaults()¶
 Load priorities from default values.
New in version 3.0.0.
- load_from_file(filename)¶
 - Parameters:
 filename (
str) – the priorityuration file
Load priorities from filename.
New in version 3.0.0.
- set_value(group, key, value)¶
 - Parameters:
 
Set priority by group and key, applying value.
New in version 3.0.0.
- do_get_value(group, key) virtual¶
 - Parameters:
 - Returns:
 the property’s value
- Return type:
 
Retrieve priority by group and key.
New in version 3.0.0.
- do_load_defaults() virtual¶
 Load priorities from default values.
New in version 3.0.0.
Signal Details¶
- Ags.Priority.signals.get_value(priority, group, key)¶
 - Signal Name:
 get-value- Flags:
 - Parameters:
 priority (
Ags.Priority) – The object which received the signalgroup (
str) – the group to retrieve fromkey (
str) – the key to get
- Returns:
 the value
- Return type:
 
The
::get-valuesignal notifies about value been getting.New in version 3.0.0.
- Ags.Priority.signals.load_defaults(priority)¶
 - Signal Name:
 load-defaults- Flags:
 - Parameters:
 priority (
Ags.Priority) – The object which received the signal
The
::load-defaultssignal notifies about loading defaultsNew in version 3.0.0.
- Ags.Priority.signals.set_value(priority, group, key, value)¶
 - Signal Name:
 set-value- Flags:
 - Parameters:
 priority (
Ags.Priority) – The object which received the signalgroup (
str) – the group to apply tokey (
str) – the key to setvalue (
str) – the value to apply
The
::set-valuesignal notifies about value been setting.New in version 3.0.0.