Top | ![]() |
![]() |
![]() |
![]() |
com.example.Tweak Interfacecom.example.Tweak Interface — Tweak interface used for testing |
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)
NewzNotifz (String newz) SignalStructDisambiguation (Pair pair, Point point) SignalWithCType (Int32 better_value) EscapeVehicleChanged (Vehicle new_escape_vehicle)
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
The #Tweak interface wraps the D-Bus interface com.example.Tweak
. It is used in the EggDBus test suite.
BlockUntilRWPropertyChanges (OUT String NewPropValue)
Blocks until #Tweak:SomeReadWriteProperty changes
|
The new value of #Tweak:SomeReadWriteProperty |
ChangeReadableProperty (IN String new_value)
Changes the #Tweak:foo property
|
New value for the #Tweak:foo property |
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 (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 (OUT String server_unique_name)
Gets the unique D-Bus name of the server
|
Unique D-Bus name |
LongRunningMethod (IN Int32 msec_to_run)
A method that takes msec_to_run
milliseconds to reply
|
Number of milliseconds to wait until replying |
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 (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
NewzNotifz (String newz)
Emitted when there are NEWZ on the #Tweak interface
|
The newz in the tweaked world |
SignalStructDisambiguation (Pair pair, Point point)
A signal to check we can properly disambiguate what structure wrapper types to use
SignalWithCType (Int32 better_value)
A signal to check we properly support specifying what C type to use for an integral type
|
Some value |
baz-forced-to-use-pair readable Pair
A slightly different Baz indicator
SomeReadWriteProperty readwrite String
Hey, I'm promiscuous. I'm writeable!
DefaultCreateFlags readwrite CreateFlags
The default create flags to use.