Bonobo API Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# BonoboItemHandler

## Name

BonoboItemHandler --

## Synopsis

    struct      BonoboItemHandler;
    typedef     BonoboItemHandlerClass;
    typedef     BonoboItemOption;
    GSList*     bonobo_item_option_parse        (const char *option_string);
    void        bonobo_item_options_free        (GSList *options);
    BonoboItemHandler* bonobo_item_handler_new  (BonoboItemHandlerEnumObjectsFn enum_objects,
                                                 BonoboItemHandlerGetObjectFn get_object,
                                                 gpointer user_data);
    BonoboItemHandler* bonobo_item_handler_construct
                                                (BonoboItemHandler *handler,
                                                 BonoboItemHandlerEnumObjectsFn enum_objects,
                                                 BonoboItemHandlerGetObjectFn get_object,
                                                 gpointer user_data);

## Object Hierarchy

      GtkObject
       +----BonoboObject
             +----BonoboXObject
                   +----BonoboItemHandler

## Description

## Details

### struct BonoboItemHandler

    struct BonoboItemHandler;

### BonoboItemHandlerClass

    typedef struct {
    	BonoboXObjectClass parent_class;

    	POA_Bonobo_ItemContainer__epv epv;
    } BonoboItemHandlerClass;

### BonoboItemOption

    typedef struct {
    	char *key;
    	char *value;
    } BonoboItemOption;

### bonobo_item_option_parse ()

    GSList*     bonobo_item_option_parse        (const char *option_string);

`option_string` : |
Returns : |

### bonobo_item_options_free ()

    void        bonobo_item_options_free        (GSList *options);

Use this to release a list returned by bonobo_item_option_parse()

`options` : | a GSList of BonoboItemOption structures that was returned by bonobo_item_option_parse()

### bonobo_item_handler_new ()

    BonoboItemHandler* bonobo_item_handler_new  (BonoboItemHandlerEnumObjectsFn enum_objects,
                                                 BonoboItemHandlerGetObjectFn get_object,
                                                 gpointer user_data);

Creates a new BonoboItemHandler object. These are used to hold client sites.

`enum_objects` : |
`get_object` : |
`user_data` : |
Returns : | The newly created BonoboItemHandler object

### bonobo_item_handler_construct ()

    BonoboItemHandler* bonobo_item_handler_construct
                                                (BonoboItemHandler *handler,
                                                 BonoboItemHandlerEnumObjectsFn enum_objects,
                                                 BonoboItemHandlerGetObjectFn get_object,
                                                 gpointer user_data);

Constructs the `container` Gtk object using the provided CORBA object.

`handler` : |
`enum_objects` : |
`get_object` : |
`user_data` : |
Returns : | The constructed BonoboItemContainer object.

## See Also

A simplistic implementation exists in BonoboItemContainer.

<<< Previous Page | Home | Up | Next Page >>>
BonoboMonikerExtender | Supporting Classes