Retro.Option

g GObject.Object GObject.Object Retro.Option Retro.Option GObject.Object->Retro.Option

Subclasses:None

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
  get_description ()
  get_key ()
  get_value ()
  get_values ()
  set_value (value)

Virtual Methods

Inherited:GObject.Object (7)

Properties

None

Signals

Inherited:GObject.Object (1)
Name Short Description
value-changed  

Fields

Inherited:GObject.Object (1)

Class Details

class Retro.Option(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:Retro.OptionClass
get_description()
Returns:the description of self
Return type:str

Gets the description of self.

get_key()
Returns:the key of self
Return type:str

Gets the key of self.

get_value()
Returns:the value of self
Return type:str

Gets the value of self.

get_values()
Returns:the value of self
Return type:[str]

Gets the value of self.

set_value(value)
Parameters:value (str) – the value
Raises:GLib.Error

Sets the value for self. An error will be thrown if the value is invalid for self.

Signal Details

Retro.Option.signals.value_changed(option)
Signal Name:value-changed
Flags:RUN_LAST
Parameters:option (Retro.Option) – The object which received the signal