DBus.Name (gb.dbus)

Static Property Name As String

Return or set the DBus application name.

By default, the DBus application name is org.gambas.<xxx>, where <xxx> is the value of Application.Name.

The name is automatically normalized to fit DBus requirements.

Warning.

If your application has a DBus object like a TrayIcon added to the form designer it will initialize and set your applications DBus.Name before your Form_Open() method.

If you experience problems setting your DBus.Name in this scenario then you must either instance your TrayIcon by code after setting DBus.Name or create a StartUp.module/class that first sets the DBus.Name and then opens your Form with the TrayIcon.

Eg.

' StartUp.module

Public Sub Main()

  DBus.Name="org.myFunkyName.myInterface"
  FMain.Show

End