~ubuntu-branches/debian/jessie/libbonoboui/jessie

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!-- ##### SECTION Title ##### -->
BonoboWidget

<!-- ##### SECTION Short_Description ##### -->
Simplified embedding of widgets in Bonobo.

<!-- ##### SECTION Long_Description ##### -->
<para>
  Bonobo component embedding for hydrocephalic imbeciles.
</para>

<para>
  Pure cane sugar.
</para>

<para>
  This purpose of BonoboWidget is to make container-side use of Bonobo
  as easy as pie.  This widget has two functions:
  <orderedlist>
    <listitem>
      <para>
        Provide a simple wrapper for embedding Controls.  Embedding
        controls is already really easy, but BonoboWidget reduces the
        work from about 5 lines to 1.  To embed a given control, just
        do:
        <informalexample>
          <programlisting>
       bw = bonobo_widget_new_control ("id for control", toplevel_ui_handler);
       gtk_container_add (some_container, bw);
          </programlisting>
        </informalexample>
      </para>

      <para>
        You are free to make the 2nd (UIContainer) argument to
        bonobo_widget_new_control() be CORBA_OBJECT_NIL.
      </para>
    </listitem>

    <listitem>
      <para>
        To provide an extremely simple wrapper for using Monikers. In
      fact all BonoboWidget use uses the OAFIID: moniker to activate
      its sub-components. However monikers (#bonobo-moniker-util) are
      far more powerful than this:
        <informalexample>
          <programlisting>
	         bw = bonobo_widget_new_control ("file:/demo/a.jpeg", toplevel_ui_handler);
          </programlisting>
        </informalexample>
	will launch an application that can render a jpeg as a control,
      usualy the Eye Of Gnome (EOG), and embed it as a control.
      </para>
    </listitem>
  </orderedlist>
</para>

<para>
   There are also functions for fetching and setting values in the
   Control PropertyBag, but the use of these functions is
   discouraged. 
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
   Object activation happens with bonobo_get_object().
</para>

<para>
   #BonoboControl, #BonoboControlFrame, #BonoboObject, #BonoboView,
   #BonoboEmbeddable, #BonoboUIContainer, #BonoboItemContainer. 
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### STRUCT BonoboWidget ##### -->
<para>

</para>


<!-- ##### STRUCT BonoboWidgetPrivate ##### -->
<para>

</para>


<!-- ##### STRUCT BonoboWidgetClass ##### -->
<para>

</para>

@bin_class: 
@dummy: 

<!-- ##### FUNCTION bonobo_widget_get_objref ##### -->
<para>

</para>

@bw: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_new_control ##### -->
<para>

</para>

@moniker: 
@uic: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_new_control_from_objref ##### -->
<para>

</para>

@control: 
@uic: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_get_control_frame ##### -->
<para>

</para>

@bw: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_get_ui_container ##### -->
<para>

</para>

@bw: 
@Returns: 


<!-- ##### USER_FUNCTION BonoboWidgetAsyncFn ##### -->
<para>

</para>

@widget: 
@ev: 
@user_data: 


<!-- ##### FUNCTION bonobo_widget_new_control_async ##### -->
<para>

</para>

@moniker: 
@uic: 
@fn: 
@user_data: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_construct_control_from_objref ##### -->
<para>

</para>

@bw: 
@control: 
@uic: 
@ev: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_construct_control ##### -->
<para>

</para>

@bw: 
@moniker: 
@uic: 
@ev: 
@Returns: 


<!-- ##### FUNCTION bonobo_widget_set_property ##### -->
<para>

</para>

@control: 
@first_prop: 
@Varargs: 


<!-- ##### FUNCTION bonobo_widget_get_property ##### -->
<para>

</para>

@control: 
@first_prop: 
@Varargs: 


<!-- ##### MACRO bonobo_widget_get_uih ##### -->
<para>

</para>

@w: 
@Returns: