manpagez: man pages & more
html files: eggdbus
Home | html | info | man

com.example.Tweak Interface

com.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

OUT String NewPropValue:

The new value of #Tweak:SomeReadWriteProperty


ChangeReadableProperty ()

ChangeReadableProperty (IN  String  new_value)
    

Changes the #Tweak:foo property

IN String new_value:

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

IN String greetz:

Greeting to pass to method

OUT String word:

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.

IN String newz:

The news to broadcast


GetServerUniqueName ()

GetServerUniqueName (OUT String  server_unique_name)
    

Gets the unique D-Bus name of the server

OUT String server_unique_name:

Unique D-Bus name


LongRunningMethod ()

LongRunningMethod (IN  Int32  msec_to_run)
    

A method that takes msec_to_run milliseconds to reply

IN Int32 msec_to_run:

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.

IN String error_domain:

A #GError error domain

IN Int32 error_code:

The error code for error_domain


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

IN Pair pair:

A pair

IN Point point:

A point

OUT Point enhanced_point:

An enhanced point

OUT Pair enhanced_pair:

An enhanced pair


MethodWithCTypes ()

MethodWithCTypes (IN  Int32  value,
                  OUT Int32  better_value)
    

A method to check we properly support specifying what C type to use for an integral type

IN Int32 value:

Some value

OUT Int32 better_value:

I can't believe it's a better value!

Signal Details

The "NewzNotifz" signal

NewzNotifz (String  newz)
    

Emitted when there are NEWZ on the #Tweak interface

String newz:

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

Pair pair:

A pair

Point point:

A point


The "SignalWithCType" signal

SignalWithCType (Int32  better_value)
    

A signal to check we properly support specifying what C type to use for an integral type

Int32 better_value:

Some value


The "EscapeVehicleChanged" signal

EscapeVehicleChanged (Vehicle  new_escape_vehicle)
    

A signal to check we properly support emitting signals with enums

Vehicle new_escape_vehicle:

The new escape vehicle

Property Details

The "foo" property

foo     readable     String
    

The Foo value


The "bar" property

bar     readable     Array<Int32>
    

The Bar factor


The "baz" property

baz     readable     Point
    

The Baz indicator


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 "PropertyWithCType" property

PropertyWithCType     readwrite    Int32
    

I'm a special C type


The "EscapeVehicle" property

EscapeVehicle     readwrite    Vehicle
    

The vehicle used for escaping.


The "DefaultCreateFlags" property

DefaultCreateFlags     readwrite    CreateFlags
    

The default create flags to use.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.