EggDBus Reference Manual | ||||
---|---|---|---|---|
Top | Description | Properties | Signals |
com.example.Tweak Interfacecom.example.Tweak Interface — Tweak interface used for testing |
Methods
BlockUntilRWPropertyChanges (OUT String NewPropValue) ChangeReadableProperty (IN String new_value) ICanHazGreetingz (IN String greetz, OUT String word) BroadcastzNewz (IN String newz) GetServerUniqueName (OUT String server_unique_name) LongRunningMethod (IN Int32 msec_to_run) ReturnGError (IN String error_domain, IN Int32 error_code) MethodStructDisambiguation (IN Pair pair, IN Point point, OUT Point enhanced_point, OUT Pair enhanced_pair) MethodWithCTypes (IN Int32 value, OUT Int32 better_value)
Signals
NewzNotifz (String newz) SignalStructDisambiguation (Pair pair, Point point) SignalWithCType (Int32 better_value) EscapeVehicleChanged (Vehicle new_escape_vehicle)
Properties
foo readable String bar readable Array<Int32> baz readable Point baz-forced-to-use-pair readable Pair SomeReadWriteProperty readwrite String PropertyWithCType readwrite Int32 EscapeVehicle readwrite Vehicle DefaultCreateFlags readwrite CreateFlags
Description
The #Tweak interface wraps the D-Bus interface com.example.Tweak
. It is used in the EggDBus test suite.
Method Details
BlockUntilRWPropertyChanges ()
BlockUntilRWPropertyChanges (OUT String NewPropValue)
Blocks until #Tweak:SomeReadWriteProperty changes
|
The new value of #Tweak:SomeReadWriteProperty |
ChangeReadableProperty ()
ChangeReadableProperty (IN String new_value)
Changes the #Tweak:foo property
|
New value for the #Tweak:foo property |
ICanHazGreetingz ()
ICanHazGreetingz (IN String greetz, OUT String word)
This method will take a greeting and give a rewritten greeting back
|
Greeting to pass to method |
|
Rewritten greeting |
BroadcastzNewz ()
BroadcastzNewz (IN String newz)
Conduit to broadcast newz. This method will make the object emit the #Tweak::NewzNotifz signal using the passed in parameter newz
as the news to broadcast.
|
The news to broadcast |
GetServerUniqueName ()
GetServerUniqueName (OUT String server_unique_name)
Gets the unique D-Bus name of the server
|
Unique D-Bus name |
LongRunningMethod ()
LongRunningMethod (IN Int32 msec_to_run)
A method that takes msec_to_run
milliseconds to reply
|
Number of milliseconds to wait until replying |
ReturnGError ()
ReturnGError (IN String error_domain, IN Int32 error_code)
Throws an error identified by error_domain
and error_code
. This is mainly for testing that we can transparently hand #GError's back and forth.
|
A #GError error domain |
|
The error code for |
MethodStructDisambiguation ()
MethodStructDisambiguation (IN Pair pair, IN Point point, OUT Point enhanced_point, OUT Pair enhanced_pair)
A method to check we can properly disambiguate what structure wrapper types to use
Signal Details
The "NewzNotifz" signal
NewzNotifz (String newz)
Emitted when there are NEWZ on the #Tweak interface
|
The newz in the tweaked world |
The "SignalStructDisambiguation" signal
SignalStructDisambiguation (Pair pair, Point point)
A signal to check we can properly disambiguate what structure wrapper types to use
The "SignalWithCType" signal
SignalWithCType (Int32 better_value)
A signal to check we properly support specifying what C type to use for an integral type
|
Some value |
Property Details
The "baz-forced-to-use-pair" property
baz-forced-to-use-pair readable Pair
A slightly different Baz indicator
The "SomeReadWriteProperty" property
SomeReadWriteProperty readwrite String
Hey, I'm promiscuous. I'm writeable!
The "DefaultCreateFlags" property
DefaultCreateFlags readwrite CreateFlags
The default create flags to use.