GBusNameOwnerFlags

Flags used in g_bus_own_name().

Values

ValueMeaning
NONE0

No flags set.

ALLOW_REPLACEMENT1

Allow another message bus connection to claim the name.

REPLACE2

If another message bus connection owns the name and have specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection.

DO_NOT_QUEUE4

If another message bus connection owns the name, immediately return an error from g_bus_own_name() rather than entering the waiting queue for that name. (Since 2.54)

Meta

Since

2.26