DbusmenuMenuitemProxy

3 LIBDBUSMENU-GLIB Library

DbusmenuMenuitemProxy

A menuitem that proxies from another menuitem

## Stability Level

Unstable, unless otherwise indicated

# Synopsis

    #include <libdbusmenu-glib/menuitem-proxy.h>

                        DbusmenuMenuitemProxy;
    struct              DbusmenuMenuitemProxyClass;
    DbusmenuMenuitemProxy * dbusmenu_menuitem_proxy_new     (DbusmenuMenuitem *mi);
    DbusmenuMenuitem *  dbusmenu_menuitem_proxy_get_wrapped (DbusmenuMenuitemProxy *pmi);

## Description

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.

## Details

### DbusmenuMenuitemProxy

    typedef struct _DbusmenuMenuitemProxy DbusmenuMenuitemProxy;

Public instance data for a `DbusmenuMenuitemProxy`.

### struct DbusmenuMenuitemProxyClass

    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` parent_class;

- The Class of `DbusmeneMenuitem`

reserved1 ()

- Reserved for future use.

reserved2 ()

- Reserved for future use.

reserved3 ()

- Reserved for future use.

reserved4 ()

- Reserved for future use.

### dbusmenu_menuitem_proxy_new ()

    DbusmenuMenuitemProxy * dbusmenu_menuitem_proxy_new     (DbusmenuMenuitem *mi);

Builds a new `DbusmenuMenuitemProxy` object that proxies all of the values for `mi`.

`mi` :

- The `DbusmenuMenuitem` to proxy

Returns :

- A new `DbusmenuMenuitemProxy` object.

### dbusmenu_menuitem_proxy_get_wrapped ()

    DbusmenuMenuitem *  dbusmenu_menuitem_proxy_get_wrapped (DbusmenuMenuitemProxy *pmi);

Accesses the private variable of which `DbusmenuMenuitem` we are doing the proxying for.

`pmi` :

- `DbusmenuMenuitemProxy` to look into

Returns :

- A `DbusmenuMenuitem` object or a `NULL` if we don't have one or there is an error. [transfer none]