Ags.Controller¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The context path provided by this controller |
||
r/w |
The assigned server |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
context_path |
r |
||
gobject |
r |
||
obj_mutex |
r |
||
resource |
r |
||
server |
r |
Class Details¶
- class Ags.Controller(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
the
Ags.Controller
- Return type:
Instantiate new
Ags.Controller
New in version 3.0.0.
- add_resource(resource_name, controller_resource)¶
- Parameters:
resource_name (
str
) – the resource name as stringcontroller_resource (
object
orNone
) – theAgs.ControllerResource
-struct
Add controller_resource with key resource_name to hash table.
New in version 3.0.0.
- lookup_resource(resource_name)¶
- Parameters:
resource_name (
str
) – the resource name as string- Returns:
the matching
Ags.ControllerResource
-struct- Return type:
Lookup key resource_name in hash table.
New in version 3.0.0.
- query_security_context(security_context, login)¶
- Parameters:
security_context (
GObject.Object
) – theAgs.SecurityContext
login (
str
) – the login to query
- Returns:
- Return type:
Query security_context for login.
New in version 3.0.0.
- remove_resource(resource_name)¶
- Parameters:
resource_name (
str
) – the resource name as string
Remove key resource_name from hash table.
New in version 3.0.0.
- do_query_security_context(security_context, login) virtual¶
- Parameters:
security_context (
GObject.Object
) – theAgs.SecurityContext
login (
str
) – the login to query
- Returns:
- Return type:
Query security_context for login.
New in version 3.0.0.
Property Details¶
- Ags.Controller.props.context_path¶
-
The context path provided.
New in version 3.0.0.
- Ags.Controller.props.server¶
- Name:
server
- Type:
- Default Value:
- Flags:
The assigned
Ags.Server
New in version 3.0.0.