4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>BonoboObject</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.2">
7
7
<link rel="home" href="index.html" title="Libbonobo Reference Manual">
8
8
<link rel="up" href="factories.html" title="Objects, Factories, Reference Counting">
9
9
<link rel="prev" href="factories.html" title="Objects, Factories, Reference Counting">
75
75
Bonobo_Unknown <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-release-unref" title="bonobo_object_release_unref ()">bonobo_object_release_unref</a> (Bonobo_Unknown object,
76
76
CORBA_Environment *opt_ev);
78
href="../glib/glib-Basic-Types.html#gpointer"
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
79
79
>gpointer</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-ref" title="bonobo_object_ref ()">bonobo_object_ref</a> (<a
80
href="../glib/glib-Basic-Types.html#gpointer"
80
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
81
81
>gpointer</a> obj);
82
82
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-idle-unref" title="bonobo_object_idle_unref ()">bonobo_object_idle_unref</a> (<a
83
href="../glib/glib-Basic-Types.html#gpointer"
83
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
84
84
>gpointer</a> obj);
86
href="../glib/glib-Basic-Types.html#gpointer"
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
87
87
>gpointer</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-unref" title="bonobo_object_unref ()">bonobo_object_unref</a> (<a
88
href="../glib/glib-Basic-Types.html#gpointer"
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
89
89
>gpointer</a> obj);
90
90
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-set-immortal" title="bonobo_object_set_immortal ()">bonobo_object_set_immortal</a> (<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object,
92
href="../glib/glib-Basic-Types.html#gboolean"
92
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
93
93
>gboolean</a> immortal);
95
href="../glib/glib-Basic-Types.html#gpointer"
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
96
96
>gpointer</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-trace-refs" title="bonobo_object_trace_refs ()">bonobo_object_trace_refs</a> (<a
97
href="../glib/glib-Basic-Types.html#gpointer"
97
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
102
href="../glib/glib-Basic-Types.html#gboolean"
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
103
103
>gboolean</a> ref);
104
104
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-dump-interfaces" title="bonobo_object_dump_interfaces ()">bonobo_object_dump_interfaces</a> (<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object);
105
105
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-check-env" title="bonobo_object_check_env ()">bonobo_object_check_env</a> (<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object,
107
107
CORBA_Environment *ev);
108
108
#define <a class="link" href="libbonobo-bonobo-object.html#BONOBO-OBJECT-CHECK--CAPS" title="BONOBO_OBJECT_CHECK()">BONOBO_OBJECT_CHECK</a> (o,c,e)
110
href="../glib/glib-Basic-Types.html#gboolean"
110
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
111
111
>gboolean</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-unknown-ping" title="bonobo_unknown_ping ()">bonobo_unknown_ping</a> (Bonobo_Unknown object,
112
112
CORBA_Environment *opt_ev);
113
113
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-list-unref-all" title="bonobo_object_list_unref_all ()">bonobo_object_list_unref_all</a> (<a
114
href="../glib/glib-Doubly-Linked-Lists.html#GList"
114
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
115
115
>GList</a> **list);
116
116
void <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-slist-unref-all" title="bonobo_object_slist_unref_all ()">bonobo_object_slist_unref_all</a> (<a
117
href="../glib/glib-Singly-Linked-Lists.html#GSList"
117
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
118
118
>GSList</a> **list);
119
119
<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> * <a class="link" href="libbonobo-bonobo-object.html#bonobo-object" title="bonobo_object ()">bonobo_object</a> (<a
120
href="../glib/glib-Basic-Types.html#gpointer"
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
121
121
>gpointer</a> p);
122
122
#define <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-fast" title="bonobo_object_fast()">bonobo_object_fast</a> (o)
123
123
#define <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-from-servant" title="bonobo_object_from_servant()">bonobo_object_from_servant</a> (s)
124
124
#define <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-get-servant" title="bonobo_object_get_servant()">bonobo_object_get_servant</a> (o)
125
125
PortableServer_POA <a class="link" href="libbonobo-bonobo-object.html#bonobo-object-get-poa" title="bonobo_object_get_poa ()">bonobo_object_get_poa</a> (<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object);
127
href="../gobject/gobject-Type-Information.html#GType"
127
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
128
128
>GType</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-type-unique" title="bonobo_type_unique ()">bonobo_type_unique</a> (<a
129
href="../gobject/gobject-Type-Information.html#GType"
129
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
130
130
>GType</a> parent_type,
131
131
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> init_fn,
132
132
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> fini_fn,
133
133
int epv_struct_offset,
135
href="../gobject/gobject-Type-Information.html#GTypeInfo"
135
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInfo"
136
136
>GTypeInfo</a> *info,
138
href="../glib/glib-Basic-Types.html#gchar"
138
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
139
139
>gchar</a> *type_name);
141
href="../glib/glib-Basic-Types.html#gboolean"
141
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
142
142
>gboolean</a> <a class="link" href="libbonobo-bonobo-object.html#bonobo-type-setup" title="bonobo_type_setup ()">bonobo_type_setup</a> (<a
143
href="../gobject/gobject-Type-Information.html#GType"
143
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
145
145
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> init_fn,
146
146
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> fini_fn,
617
615
<div class="refsect2" lang="en">
618
616
<a name="bonobo-object-ref"></a><h3>bonobo_object_ref ()</h3>
619
617
<pre class="programlisting"><a
620
href="../glib/glib-Basic-Types.html#gpointer"
618
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
621
619
>gpointer</a> bonobo_object_ref (<a
622
href="../glib/glib-Basic-Types.html#gpointer"
620
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
623
621
>gpointer</a> obj);</pre>
625
623
Increments the reference count for the aggregate BonoboObject.</p>
662
660
<div class="refsect2" lang="en">
663
661
<a name="bonobo-object-unref"></a><h3>bonobo_object_unref ()</h3>
664
662
<pre class="programlisting"><a
665
href="../glib/glib-Basic-Types.html#gpointer"
663
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
666
664
>gpointer</a> bonobo_object_unref (<a
667
href="../glib/glib-Basic-Types.html#gpointer"
665
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
668
666
>gpointer</a> obj);</pre>
670
668
Decrements the reference count for the aggregate BonoboObject.</p>
715
715
<div class="refsect2" lang="en">
716
716
<a name="bonobo-object-trace-refs"></a><h3>bonobo_object_trace_refs ()</h3>
717
717
<pre class="programlisting"><a
718
href="../glib/glib-Basic-Types.html#gpointer"
718
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
719
719
>gpointer</a> bonobo_object_trace_refs (<a
720
href="../glib/glib-Basic-Types.html#gpointer"
720
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
721
721
>gpointer</a> obj,
725
href="../glib/glib-Basic-Types.html#gboolean"
725
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
726
726
>gboolean</a> ref);</pre>
842
842
<div class="refsect2" lang="en">
843
843
<a name="bonobo-unknown-ping"></a><h3>bonobo_unknown_ping ()</h3>
844
844
<pre class="programlisting"><a
845
href="../glib/glib-Basic-Types.html#gboolean"
845
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
846
846
>gboolean</a> bonobo_unknown_ping (Bonobo_Unknown object,
847
847
CORBA_Environment *opt_ev);</pre>
875
877
<div class="refsect2" lang="en">
876
878
<a name="bonobo-object-list-unref-all"></a><h3>bonobo_object_list_unref_all ()</h3>
877
879
<pre class="programlisting">void bonobo_object_list_unref_all (<a
878
href="../glib/glib-Doubly-Linked-Lists.html#GList"
880
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
879
881
>GList</a> **list);</pre>
881
883
This routine unrefs all valid objects in
896
898
<div class="refsect2" lang="en">
897
899
<a name="bonobo-object-slist-unref-all"></a><h3>bonobo_object_slist_unref_all ()</h3>
898
900
<pre class="programlisting">void bonobo_object_slist_unref_all (<a
899
href="../glib/glib-Singly-Linked-Lists.html#GSList"
901
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
900
902
>GSList</a> **list);</pre>
913
915
<div class="refsect2" lang="en">
914
916
<a name="bonobo-object"></a><h3>bonobo_object ()</h3>
915
917
<pre class="programlisting"><a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> * bonobo_object (<a
916
href="../glib/glib-Basic-Types.html#gpointer"
918
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
917
919
>gpointer</a> p);</pre>
919
921
This function can be passed a BonoboObject * or a
1027
1029
<div class="refsect2" lang="en">
1028
1030
<a name="bonobo-type-unique"></a><h3>bonobo_type_unique ()</h3>
1029
1031
<pre class="programlisting"><a
1030
href="../gobject/gobject-Type-Information.html#GType"
1032
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
1031
1033
>GType</a> bonobo_type_unique (<a
1032
href="../gobject/gobject-Type-Information.html#GType"
1034
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
1033
1035
>GType</a> parent_type,
1034
1036
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> init_fn,
1035
1037
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> fini_fn,
1036
1038
int epv_struct_offset,
1038
href="../gobject/gobject-Type-Information.html#GTypeInfo"
1040
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInfo"
1039
1041
>GTypeInfo</a> *info,
1041
href="../glib/glib-Basic-Types.html#gchar"
1043
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1042
1044
>gchar</a> *type_name);</pre>
1044
1046
This function is the main entry point for deriving bonobo
1092
1094
<div class="refsect2" lang="en">
1093
1095
<a name="bonobo-type-setup"></a><h3>bonobo_type_setup ()</h3>
1094
1096
<pre class="programlisting"><a
1095
href="../glib/glib-Basic-Types.html#gboolean"
1097
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1096
1098
>gboolean</a> bonobo_type_setup (<a
1097
href="../gobject/gobject-Type-Information.html#GType"
1099
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
1098
1100
>GType</a> type,
1099
1101
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> init_fn,
1100
1102
<a class="link" href="libbonobo-bonobo-object.html#BonoboObjectPOAFn" title="BonoboObjectPOAFn ()">BonoboObjectPOAFn</a> fini_fn,
1207
1209
<div class="refsect2" lang="en">
1208
1210
<a name="BonoboObject--poa"></a><h3>The <code class="literal">"poa"</code> property</h3>
1209
1211
<pre class="programlisting"> "poa" <a
1210
href="../glib/glib-Basic-Types.html#gpointer"
1212
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1211
1213
>gpointer</a> : Read / Write / Construct Only</pre>
1213
1215
Pass this property during construction to specify a custom POA for a BonoboObject. Example:
1231
1233
<a name="BonoboObject-destroy"></a><h3>The <code class="literal">"destroy"</code> signal</h3>
1232
1234
<pre class="programlisting">void user_function (<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *bonoboobject,
1234
href="../glib/glib-Basic-Types.html#gpointer"
1236
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1235
1237
>gpointer</a> user_data) : Run Last</pre>
1237
1239
Signal emitted when the last reference of a BonoboObject has been