struct DBus::Interface

Defined in:

dbus.cr
introspect.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(object : Object, interface : String) #

[View source]

Instance Method Detail

def call(name : String, args : Array = [] of Nil, signature : String | Nil = nil, timeout : Int32 = -1) #

[View source]
def get(key : String, timeout : Int32 = -1) #

[View source]
def inspect(io : IO) #
Description copied from struct Struct

Appends this struct's name and instance variables names and values to the given IO.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p1.to_s    # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"

[View source]
def interface : String #

[View source]
def introspect #

[View source]
def list_methods #

[View source]
def list_properties #

[View source]
def list_signals #

[View source]
def object : Object #

[View source]
def set(key : String, value : Type, signature : String | Nil = nil, timeout : Int32 = -1) #

[View source]