libdbusmenu-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <libdbusmenu-glib/menuitem-proxy.h> DbusmenuMenuitemProxy; struct DbusmenuMenuitemProxyClass; DbusmenuMenuitemProxy * dbusmenu_menuitem_proxy_new (DbusmenuMenuitem *mi
); DbusmenuMenuitem * dbusmenu_menuitem_proxy_get_wrapped (DbusmenuMenuitemProxy *pmi
);
This small object allows for proxying all the properties from a remote menuitem to a new object that can be moved around appropriately within the new menu structure.
typedef struct _DbusmenuMenuitemProxy DbusmenuMenuitemProxy;
Public instance data for a DbusmenuMenuitemProxy.
struct DbusmenuMenuitemProxyClass { DbusmenuMenuitemClass parent_class; /*< Private >*/ void (*reserved1) (void); void (*reserved2) (void); void (*reserved3) (void); void (*reserved4) (void); };
Functions and signal slots for DbusmenuMenuitemProxy.
DbusmenuMenuitemClass |
The Class of DbusmeneMenuitem |
Reserved for future use. | |
Reserved for future use. | |
Reserved for future use. | |
Reserved for future use. |
DbusmenuMenuitemProxy * dbusmenu_menuitem_proxy_new (DbusmenuMenuitem *mi
);
Builds a new DbusmenuMenuitemProxy object that proxies
all of the values for mi
.
|
The DbusmenuMenuitem to proxy |
Returns : |
A new DbusmenuMenuitemProxy object. |
DbusmenuMenuitem * dbusmenu_menuitem_proxy_get_wrapped (DbusmenuMenuitemProxy *pmi
);
Accesses the private variable of which DbusmenuMenuitem we are doing the proxying for.
|
DbusmenuMenuitemProxy to look into |
Returns : |
A DbusmenuMenuitem object or a NULL if we don't have one or there is an error. [transfer none] |