Package ch.bailu.gtk.gio
Class DBusMenuModel
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gio.MenuModel
ch.bailu.gtk.gio.DBusMenuModel
- All Implemented Interfaces:
PointerInterface
#GDBusMenuModel is an implementation of #GMenuModel that can be used
as a proxy for a menu model that is exported over D-Bus with
g_dbus_connection_export_menu_model().
as a proxy for a menu model that is exported over D-Bus with
g_dbus_connection_export_menu_model().
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gio.MenuModel
MenuModel.OnItemsChangedNested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
Fields inherited from class ch.bailu.gtk.gio.MenuModel
SIGNAL_ON_ITEMS_CHANGEDFields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DBusMenuModelget(DBusConnection connection, Str bus_name, Str object_path) Obtains a #GDBusMenuModel for the menu model which is exported
at the given @bus_name and @object_path.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeMethods inherited from class ch.bailu.gtk.gio.MenuModel
getItemAttribute, getItemAttribute, getItemAttributeValue, getItemAttributeValue, getItemLink, getItemLink, getNItems, isMutable, itemsChanged, iterateItemAttributes, iterateItemLinks, onItemsChangedMethods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
DBusMenuModel
-
-
Method Details
-
getClassHandler
-
get
public static DBusMenuModel get(@Nonnull DBusConnection connection, @Nullable Str bus_name, @Nonnull Str object_path) Obtains a #GDBusMenuModel for the menu model which is exported
at the given @bus_name and @object_path.
The thread default main context is taken at the time of this call.
All signals on the menu model (and any linked models) are reported
with respect to this context. All calls on the returned menu model
(and linked models) must also originate from this same context, with
the thread default main context unchanged.- Parameters:
connection- a #GDBusConnectionbus_name- the bus name which exports the menu model or %NULL if @connection is not a message bus connectionobject_path- the object path at which the menu model is exported- Returns:
- a #GDBusMenuModel object. Free with g_object_unref().
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-