RB.StringValueMap¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class RB.StringValueMap(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
new empty
RB.StringValueMap
- Return type:
Creates a new
RB.StringValueMap
- get(key, out)¶
- Parameters:
key (
str
) – key to retrieveout (
GObject.Value
) – returns a copy of the value in the map
- Returns:
True
if the value was found- Return type:
Locates and copies the value associated with the key.
- peek(key)¶
- Parameters:
key (
str
) – key to retrieve- Returns:
the
GObject.Value
associated with the key- Return type:
Locates the value associated with the key. This returns the
GObject.Value
stored in the map, so it cannot be modified.
- remove(key)¶
-
Removes a value from the map.
- set(key, value)¶
- Parameters:
key (
str
) – key to setvalue (
GObject.Value
) – value to store
Inserts a value into the map. The value is copied.
- steal_hashtable()¶
- Returns:
GLib.HashTable
from the map- Return type:
Extracts and returns the underlying hash table from the map, and creates a new empty map.