Application.getDbusObjectPath

Gets the D-Bus object path being used by the application, or NULL.

If gtk.Application is using its D-Bus backend then this function will return the D-Bus object path that gtk.Application is using. If the application is the primary instance then there is an object published at this path. If the application is not the primary instance then the result of this function is undefined.

If gtk.Application is not using D-Bus then this function will return NULL. This includes the situation where the D-Bus backend would normally be in use but we were unable to connect to the bus.

This function must not be called before the application has been registered. See Application.getIsRegistered.

class Application
string
getDbusObjectPath
()

Return Value

Type: string

the object path, or NULL

Meta

Since

2.34