bonobo-item-handler

bonobo-item-handler

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── BonoboObject
        ╰── BonoboItemHandler

Description

Functions

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.

Parameters

enum_objects

callback invoked for Bonobo::ItemContainer::enum_objects

 

get_object

callback invoked for Bonobo::ItemContainer::get_objects

 

user_data

extra data passed on the callbacks

 

Returns

The newly created BonoboItemHandler object


bonobo_item_handler_new_closure ()

BonoboItemHandler *
bonobo_item_handler_new_closure (GClosure *enum_objects,
                                 GClosure *get_object);

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

Parameters

enum_objects

closure invoked for Bonobo::ItemContainer::enum_objects

 

get_object

closure invoked for Bonobo::ItemContainer::get_objects

 

Returns

The newly created BonoboItemHandler object


bonobo_item_handler_construct ()

BonoboItemHandler *
bonobo_item_handler_construct (BonoboItemHandler *handler,
                               GClosure *enum_objects,
                               GClosure *get_object);

Constructs the container BonoboObject using the provided closures for the actual implementation.

Parameters

handler

The handler object to construct

 

enum_objects

The closure implementing enumObjects

 

get_object

The closure implementing getObject

 

Returns

The constructed BonoboItemContainer object.


bonobo_item_option_parse ()

GSList *
bonobo_item_option_parse (const char *option_string);

bonobo_item_options_free ()

void
bonobo_item_options_free (GSList *options);

Use this to release a list returned by bonobo_item_option_parse()

Parameters

options

a GSList of BonoboItemOption structures that was returned by bonobo_item_option_parse()

 

Types and Values

struct BonoboItemHandler

struct BonoboItemHandler;

BonoboItemHandlerClass

typedef struct {
	BonoboObjectClass parent_class;

	POA_Bonobo_ItemContainer__epv epv;
} BonoboItemHandlerClass;

BonoboItemOption

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