| Libbonobo Reference Manual |
|---|
bonobo-types —
GType bonobo_corba_object_type_register_static (const gchar *name, const CORBA_TypeCode tc, gboolean is_bonobo_unknown); GType bonobo_unknown_get_type (void); GType bonobo_corba_any_get_type (void); GType bonobo_corba_object_get_type (void); GType bonobo_corba_typecode_get_type (void); GType bonobo_corba_exception_get_type (void); #define BONOBO_TYPE_UNKNOWN #define BONOBO_TYPE_CORBA_ANY #define BONOBO_TYPE_CORBA_OBJECT #define BONOBO_TYPE_CORBA_TYPECODE #define BONOBO_TYPE_CORBA_EXCEPTION #define BONOBO_TYPE_STATIC_CORBA_EXCEPTION #define BONOBO_TYPE_STATIC_UNKNOWN #define BONOBO_TYPE_STATIC_CORBA_ANY #define BONOBO_TYPE_STATIC_CORBA_OBJECT #define BONOBO_TYPE_STATIC_CORBA_TYPECODE #define BONOBO_VALUE_HOLDS_UNKNOWN (value) #define BONOBO_VALUE_HOLDS_CORBA_ANY (value) #define BONOBO_VALUE_HOLDS_CORBA_OBJECT (value) #define BONOBO_VALUE_HOLDS_CORBA_TYPECODE(value) #define BONOBO_VALUE_HOLDS_CORBA_EXCEPTION(value) Bonobo_Unknown bonobo_value_get_unknown (const GValue *value); BonoboArg* bonobo_value_get_corba_any (const GValue *value); CORBA_Object bonobo_value_get_corba_object (const GValue *value); CORBA_TypeCode bonobo_value_get_corba_typecode (const GValue *value); const CORBA_Environment* bonobo_value_get_corba_exception (const GValue *value); void bonobo_value_set_unknown (GValue *value, const Bonobo_Unknown unknown); void bonobo_value_set_corba_any (GValue *value, const CORBA_any *any); void bonobo_value_set_corba_object (GValue *value, const CORBA_Object object); void bonobo_value_set_corba_typecode (GValue *value, const CORBA_TypeCode tc); void bonobo_value_set_corba_environment (GValue *value, const CORBA_Environment *ev); void bonobo_closure_invoke_va_list (GClosure *closure, GValue *return_value, va_list var_args); void bonobo_closure_invoke (GClosure *closure, GType return_type, ...); GClosure* bonobo_closure_store (GClosure *closure, GClosureMarshal default_marshal);
GType bonobo_corba_object_type_register_static
(const gchar *name,
const CORBA_TypeCode tc,
gboolean is_bonobo_unknown);
| name : | |
| tc : | |
| is_bonobo_unknown : | |
| Returns : |
#define BONOBO_TYPE_STATIC_CORBA_EXCEPTION (bonobo_corba_exception_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
#define BONOBO_TYPE_STATIC_UNKNOWN (bonobo_unknown_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
#define BONOBO_TYPE_STATIC_CORBA_ANY (bonobo_corba_any_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
#define BONOBO_TYPE_STATIC_CORBA_OBJECT (bonobo_corba_object_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
#define BONOBO_TYPE_STATIC_CORBA_TYPECODE (bonobo_corba_typecode_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
#define BONOBO_VALUE_HOLDS_UNKNOWN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_UNKNOWN))
| value : |
#define BONOBO_VALUE_HOLDS_CORBA_ANY(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_ANY))
| value : |
#define BONOBO_VALUE_HOLDS_CORBA_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_OBJECT))
| value : |
#define BONOBO_VALUE_HOLDS_CORBA_TYPECODE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_TYPECODE))
| value : |
#define BONOBO_VALUE_HOLDS_CORBA_EXCEPTION(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_EXCEPTION))
| value : |
Bonobo_Unknown bonobo_value_get_unknown (const GValue *value);
| value : | |
| Returns : |
BonoboArg* bonobo_value_get_corba_any (const GValue *value);
| value : | |
| Returns : |
CORBA_Object bonobo_value_get_corba_object (const GValue *value);
| value : | |
| Returns : |
CORBA_TypeCode bonobo_value_get_corba_typecode
(const GValue *value);
| value : | |
| Returns : |
const CORBA_Environment* bonobo_value_get_corba_exception
(const GValue *value);
| value : | |
| Returns : |
void bonobo_value_set_unknown (GValue *value,
const Bonobo_Unknown unknown);
| value : | |
| unknown : |
void bonobo_value_set_corba_any (GValue *value,
const CORBA_any *any);
| value : | |
| any : |
void bonobo_value_set_corba_object (GValue *value,
const CORBA_Object object);
| value : | |
| object : |
void bonobo_value_set_corba_typecode (GValue *value,
const CORBA_TypeCode tc);
| value : | |
| tc : |
void bonobo_value_set_corba_environment
(GValue *value,
const CORBA_Environment *ev);
| value : | |
| ev : |
void bonobo_closure_invoke_va_list (GClosure *closure,
GValue *return_value,
va_list var_args);
| closure : | |
| return_value : | |
| var_args : |
void bonobo_closure_invoke (GClosure *closure,
GType return_type,
...);Invokes the closure with the arguments.
Examples:
bonobo_closure_invoke (closure, G_TYPE_NONE, G_TYPE_INT, first_arg, 0);
glong retval; bonobo_closure_invoke (closure, G_TYPE_LONG, & retval, 0);
| closure : | a standard GClosure |
| return_type : | the type of the first va_arg argument in a set of type / arg pairs. |
| ... : | list of type / arg pairs |
| << bonobo-macros | bonobo-context >> |