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

1 by Sebastien Bacher
Import upstream version 2.8.0
1
<!-- ##### SECTION Title ##### -->
2
BonoboWidget
3
4
<!-- ##### SECTION Short_Description ##### -->
5
Simplified embedding of widgets in Bonobo.
6
7
<!-- ##### SECTION Long_Description ##### -->
8
<para>
9
  Bonobo component embedding for hydrocephalic imbeciles.
10
</para>
11
12
<para>
13
  Pure cane sugar.
14
</para>
15
16
<para>
17
  This purpose of BonoboWidget is to make container-side use of Bonobo
18
  as easy as pie.  This widget has two functions:
19
  <orderedlist>
20
    <listitem>
21
      <para>
22
        Provide a simple wrapper for embedding Controls.  Embedding
23
        controls is already really easy, but BonoboWidget reduces the
24
        work from about 5 lines to 1.  To embed a given control, just
25
        do:
26
        <informalexample>
27
          <programlisting>
28
       bw = bonobo_widget_new_control ("id for control", toplevel_ui_handler);
29
       gtk_container_add (some_container, bw);
30
          </programlisting>
31
        </informalexample>
32
      </para>
33
34
      <para>
35
        You are free to make the 2nd (UIContainer) argument to
36
        bonobo_widget_new_control() be CORBA_OBJECT_NIL.
37
      </para>
38
    </listitem>
39
40
    <listitem>
41
      <para>
42
        To provide an extremely simple wrapper for using Monikers. In
43
      fact all BonoboWidget use uses the OAFIID: moniker to activate
44
      its sub-components. However monikers (#bonobo-moniker-util) are
45
      far more powerful than this:
46
        <informalexample>
47
          <programlisting>
48
	         bw = bonobo_widget_new_control ("file:/demo/a.jpeg", toplevel_ui_handler);
49
          </programlisting>
50
        </informalexample>
51
	will launch an application that can render a jpeg as a control,
52
      usualy the Eye Of Gnome (EOG), and embed it as a control.
53
      </para>
54
    </listitem>
55
  </orderedlist>
56
</para>
57
58
<para>
59
   There are also functions for fetching and setting values in the
60
   Control PropertyBag, but the use of these functions is
61
   discouraged. 
62
</para>
63
64
<!-- ##### SECTION See_Also ##### -->
65
<para>
66
   Object activation happens with bonobo_get_object().
67
</para>
68
69
<para>
70
   #BonoboControl, #BonoboControlFrame, #BonoboObject, #BonoboView,
71
   #BonoboEmbeddable, #BonoboUIContainer, #BonoboItemContainer. 
72
</para>
73
1.1.2 by Sebastien Bacher
Import upstream version 2.13.0
74
<!-- ##### SECTION Stability_Level ##### -->
75
76
1.1.25 by Josselin Mouette
Import upstream version 2.24.5
77
<!-- ##### SECTION Image ##### -->
78
79
1 by Sebastien Bacher
Import upstream version 2.8.0
80
<!-- ##### STRUCT BonoboWidget ##### -->
81
<para>
82
83
</para>
84
85
86
<!-- ##### STRUCT BonoboWidgetPrivate ##### -->
87
<para>
88
89
</para>
90
91
92
<!-- ##### STRUCT BonoboWidgetClass ##### -->
93
<para>
94
95
</para>
96
97
@bin_class: 
98
@dummy: 
99
100
<!-- ##### FUNCTION bonobo_widget_get_objref ##### -->
101
<para>
102
103
</para>
104
105
@bw: 
106
@Returns: 
107
108
109
<!-- ##### FUNCTION bonobo_widget_new_control ##### -->
110
<para>
111
112
</para>
113
114
@moniker: 
115
@uic: 
116
@Returns: 
117
118
119
<!-- ##### FUNCTION bonobo_widget_new_control_from_objref ##### -->
120
<para>
121
122
</para>
123
124
@control: 
125
@uic: 
126
@Returns: 
127
128
129
<!-- ##### FUNCTION bonobo_widget_get_control_frame ##### -->
130
<para>
131
132
</para>
133
134
@bw: 
135
@Returns: 
136
137
138
<!-- ##### FUNCTION bonobo_widget_get_ui_container ##### -->
139
<para>
140
141
</para>
142
143
@bw: 
144
@Returns: 
145
146
147
<!-- ##### USER_FUNCTION BonoboWidgetAsyncFn ##### -->
148
<para>
149
150
</para>
151
152
@widget: 
153
@ev: 
154
@user_data: 
155
156
157
<!-- ##### FUNCTION bonobo_widget_new_control_async ##### -->
158
<para>
159
160
</para>
161
162
@moniker: 
163
@uic: 
164
@fn: 
165
@user_data: 
166
@Returns: 
167
168
169
<!-- ##### FUNCTION bonobo_widget_construct_control_from_objref ##### -->
170
<para>
171
172
</para>
173
174
@bw: 
175
@control: 
176
@uic: 
177
@ev: 
178
@Returns: 
179
180
181
<!-- ##### FUNCTION bonobo_widget_construct_control ##### -->
182
<para>
183
184
</para>
185
186
@bw: 
187
@moniker: 
188
@uic: 
189
@ev: 
190
@Returns: 
191
192
193
<!-- ##### FUNCTION bonobo_widget_set_property ##### -->
194
<para>
195
196
</para>
197
198
@control: 
199
@first_prop: 
200
@Varargs: 
201
202
203
<!-- ##### FUNCTION bonobo_widget_get_property ##### -->
204
<para>
205
206
</para>
207
208
@control: 
209
@first_prop: 
210
@Varargs: 
211
212
213
<!-- ##### MACRO bonobo_widget_get_uih ##### -->
214
<para>
215
216
</para>
217
218
@w: 
219
@Returns: 
220
221