Synchronously connects to the message bus specified by @bus_type.
Note that the returned object may shared with other callers,
e.g. if two separate parts of a process calls this function with
the same @bus_type, they will share the same object.
Guesses the content type based on example data. If the function is
uncertain, @result_uncertain will be set to true. Either @filename
or @data may be None, in which case the guess will be based solely
on the other argument.
Tries to guess the type of the tree with root @root, by
looking at the files it contains. The result is an array
of content types, with the best guess coming first.
Checks if the content type is the generic “unknown” type.
On UNIX this is the “application/octet-stream” mimetype,
while on win32 it is “*” and on OSX it is a dynamic type
or octet-stream.
Gets a list of strings containing all the registered content types
known to the system. The list and its data should be freed using
g_list_free_full (list, g_free).
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by @bus_type. This may involve using various
platform specific mechanisms.
Asynchronously connects to an endpoint specified by @address and
sets up the connection so it is in a state to run the client-side
of the D-Bus authentication conversation. @address must be in the
D-Bus address format.
Synchronously connects to an endpoint specified by @address and
sets up the connection so it is in a state to run the client-side
of the D-Bus authentication conversation. @address must be in the
D-Bus address format.
Like g_dbus_is_address() but also checks if the library supports the
transports in @string and that key/value pairs for each transport
are valid. See the specification of the
D-Bus address format.
Looks for a file at the specified @path in the set of
globally registered resources and returns a glib::Bytes that
lets you directly access the data in memory.