~ubuntu-branches/ubuntu/jaunty/goffice/jaunty-updates

« back to all changes in this revision

Viewing changes to docs/reference/html/GogView.html

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-07-24 19:38:48 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20070724193848-1drk5szc3ykeud8f
Tags: 0.4.2-0ubuntu1
* New upstream release:
  - Foocanvas bug that scaled images by 1 extra pixel. [#314864]
  - Fix compilation for Gtk+ trunk.
  - Fix chart guru help button. [#394181]
  - Minor memory leak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
<th width="100%" align="center">Goffice Reference Manual</th>
35
35
<td><a accesskey="n" href="GogDataAllocator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
36
</tr>
37
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2559303" class="shortcut">Top</a>
38
 
                  &#160;|&#160;
39
 
                  <a href="#id2619807" class="shortcut">Description</a>
40
 
                  &#160;|&#160;
41
 
                  <a href="#id2619735" class="shortcut">Object Hierarchy</a>
42
 
                  &#160;|&#160;
43
 
                  <a href="#id2619765" class="shortcut">Properties</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2556270" class="shortcut">Top</a>
 
38
                  &#160;|&#160;
 
39
                  <a href="#id2610255" class="shortcut">Description</a>
 
40
                  &#160;|&#160;
 
41
                  <a href="#id2610184" class="shortcut">Object Hierarchy</a>
 
42
                  &#160;|&#160;
 
43
                  <a href="#id2610214" class="shortcut">Properties</a></nobr></td></tr>
44
44
</table>
45
45
<div class="refentry" lang="en">
46
46
<a name="GogView"></a><div class="titlepage"></div>
47
47
<div class="refnamediv"><table width="100%"><tr>
48
48
<td valign="top">
49
49
<h2>
50
 
<a name="id2559303"></a><span class="refentrytitle">GogView</span>
 
50
<a name="id2556270"></a><span class="refentrytitle">GogView</span>
51
51
</h2>
52
52
<p>GogView &#8212; Base class for object views</p>
53
53
</td>
96
96
</pre>
97
97
</div>
98
98
<div class="refsect1" lang="en">
99
 
<a name="id2619735"></a><h2>Object Hierarchy</h2>
 
99
<a name="id2610184"></a><h2>Object Hierarchy</h2>
100
100
<pre class="synopsis">
101
101
 
102
102
  GObject
105
105
</pre>
106
106
</div>
107
107
<div class="refsect1" lang="en">
108
 
<a name="id2619765"></a><h2>Properties</h2>
 
108
<a name="id2610214"></a><h2>Properties</h2>
109
109
<pre class="synopsis">
110
110
 
111
111
  "<a href="GogView.html#GogView--model">model</a>"                    <a href="GogObject.html" title="GogObject">GogObject</a>             : Write
113
113
</pre>
114
114
</div>
115
115
<div class="refsect1" lang="en">
116
 
<a name="id2619807"></a><h2>Description</h2>
 
116
<a name="id2610255"></a><h2>Description</h2>
117
117
<p>
118
118
 
119
119
</p>
120
120
</div>
121
121
<div class="refsect1" lang="en">
122
 
<a name="id2619822"></a><h2>Details</h2>
 
122
<a name="id2610271"></a><h2>Details</h2>
123
123
<div class="refsect2" lang="en">
124
 
<a name="id2619833"></a><h3>
 
124
<a name="id2610282"></a><h3>
125
125
<a name="GogView-struct"></a>GogView</h3>
126
 
<a class="indexterm" name="id2619846"></a><pre class="programlisting">typedef struct _GogView GogView;</pre>
 
126
<a class="indexterm" name="id2610294"></a><pre class="programlisting">typedef struct _GogView GogView;</pre>
127
127
<p>
128
128
 
129
129
</p>
130
130
</div>
131
131
<hr>
132
132
<div class="refsect2" lang="en">
133
 
<a name="id2619861"></a><h3>
 
133
<a name="id2610309"></a><h3>
134
134
<a name="gog-view-get-model"></a>gog_view_get_model ()</h3>
135
 
<a class="indexterm" name="id2619873"></a><pre class="programlisting"><a href="GogObject.html" title="GogObject">GogObject</a>*          gog_view_get_model                  (<a href="GogView.html" title="GogView">GogView</a> const *view);</pre>
 
135
<a class="indexterm" name="id2610322"></a><pre class="programlisting"><a href="GogObject.html" title="GogObject">GogObject</a>*          gog_view_get_model                  (<a href="GogView.html" title="GogView">GogView</a> const *view);</pre>
136
136
<p>
137
137
 
138
138
</p>
156
156
</div>
157
157
<hr>
158
158
<div class="refsect2" lang="en">
159
 
<a name="id2619930"></a><h3>
 
159
<a name="id2610378"></a><h3>
160
160
<a name="gog-view-render"></a>gog_view_render ()</h3>
161
 
<a class="indexterm" name="id2619942"></a><pre class="programlisting">void                gog_view_render                     (<a href="GogView.html" title="GogView">GogView</a> *view,
 
161
<a class="indexterm" name="id2610390"></a><pre class="programlisting">void                gog_view_render                     (<a href="GogView.html" title="GogView">GogView</a> *view,
162
162
                                                         GogViewAllocation const *bbox);</pre>
163
163
<p>
164
164
 
183
183
</div>
184
184
<hr>
185
185
<div class="refsect2" lang="en">
186
 
<a name="id2620010"></a><h3>
 
186
<a name="id2610458"></a><h3>
187
187
<a name="gog-view-queue-redraw"></a>gog_view_queue_redraw ()</h3>
188
 
<a class="indexterm" name="id2620021"></a><pre class="programlisting">void                gog_view_queue_redraw               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
 
188
<a class="indexterm" name="id2610469"></a><pre class="programlisting">void                gog_view_queue_redraw               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
189
189
<p>
190
190
Requests a redraw for the entire graph.</p>
191
191
<p>
202
202
</div>
203
203
<hr>
204
204
<div class="refsect2" lang="en">
205
 
<a name="id2620077"></a><h3>
 
205
<a name="id2610526"></a><h3>
206
206
<a name="gog-view-queue-resize"></a>gog_view_queue_resize ()</h3>
207
 
<a class="indexterm" name="id2620088"></a><pre class="programlisting">void                gog_view_queue_resize               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
 
207
<a class="indexterm" name="id2610537"></a><pre class="programlisting">void                gog_view_queue_resize               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
208
208
<p>
209
209
Flags a view to have its size renegotiated; should
210
210
be called when a model for some reason has a new size request.
223
223
</div>
224
224
<hr>
225
225
<div class="refsect2" lang="en">
226
 
<a name="id2620148"></a><h3>
 
226
<a name="id2610596"></a><h3>
227
227
<a name="gog-view-padding-request"></a>gog_view_padding_request ()</h3>
228
 
<a class="indexterm" name="id2620159"></a><pre class="programlisting">void                gog_view_padding_request            (<a href="GogView.html" title="GogView">GogView</a> *view,
 
228
<a class="indexterm" name="id2610607"></a><pre class="programlisting">void                gog_view_padding_request            (<a href="GogView.html" title="GogView">GogView</a> *view,
229
229
                                                         GogViewAllocation const *bbox,
230
230
                                                         GogViewPadding *padding);</pre>
231
231
<p>
256
256
</div>
257
257
<hr>
258
258
<div class="refsect2" lang="en">
259
 
<a name="id2620248"></a><h3>
 
259
<a name="id2624694"></a><h3>
260
260
<a name="gog-view-size-request"></a>gog_view_size_request ()</h3>
261
 
<a class="indexterm" name="id2624712"></a><pre class="programlisting">void                gog_view_size_request               (<a href="GogView.html" title="GogView">GogView</a> *view,
 
261
<a class="indexterm" name="id2624704"></a><pre class="programlisting">void                gog_view_size_request               (<a href="GogView.html" title="GogView">GogView</a> *view,
262
262
                                                         GogViewRequisition const *available,
263
263
                                                         GogViewRequisition *requisition);</pre>
264
264
<p>
295
295
</div>
296
296
<hr>
297
297
<div class="refsect2" lang="en">
298
 
<a name="id2624825"></a><h3>
 
298
<a name="id2624816"></a><h3>
299
299
<a name="gog-view-size-allocate"></a>gog_view_size_allocate ()</h3>
300
 
<a class="indexterm" name="id2624835"></a><pre class="programlisting">void                gog_view_size_allocate              (<a href="GogView.html" title="GogView">GogView</a> *view,
 
300
<a class="indexterm" name="id2624826"></a><pre class="programlisting">void                gog_view_size_allocate              (<a href="GogView.html" title="GogView">GogView</a> *view,
301
301
                                                         GogViewAllocation const *allocation);</pre>
302
302
<p>
303
303
Assign a size and position to a GogView.  Primarilly used by containers.</p>
322
322
</div>
323
323
<hr>
324
324
<div class="refsect2" lang="en">
325
 
<a name="id2624911"></a><h3>
 
325
<a name="id2624902"></a><h3>
326
326
<a name="gog-view-update-sizes"></a>gog_view_update_sizes ()</h3>
327
 
<a class="indexterm" name="id2624922"></a><pre class="programlisting">gboolean            gog_view_update_sizes               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
 
327
<a class="indexterm" name="id2624913"></a><pre class="programlisting">gboolean            gog_view_update_sizes               (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
328
328
<p>
329
329
 
330
330
</p>
348
348
</div>
349
349
<hr>
350
350
<div class="refsect2" lang="en">
351
 
<a name="id2624972"></a><h3>
 
351
<a name="id2624963"></a><h3>
352
352
<a name="gog-view-find-child-view"></a>gog_view_find_child_view ()</h3>
353
 
<a class="indexterm" name="id2624982"></a><pre class="programlisting"><a href="GogView.html" title="GogView">GogView</a>*            gog_view_find_child_view            (<a href="GogView.html" title="GogView">GogView</a> const *container,
 
353
<a class="indexterm" name="id2624973"></a><pre class="programlisting"><a href="GogView.html" title="GogView">GogView</a>*            gog_view_find_child_view            (<a href="GogView.html" title="GogView">GogView</a> const *container,
354
354
                                                         <a href="GogObject.html" title="GogObject">GogObject</a> const *target_model);</pre>
355
355
<p>
356
356
Find the GogView contained in <em class="parameter"><code>container</code></em> that corresponds to <em class="parameter"><code>model</code></em>.</p>
380
380
</div>
381
381
<hr>
382
382
<div class="refsect2" lang="en">
383
 
<a name="id2625083"></a><h3>
 
383
<a name="id2625074"></a><h3>
384
384
<a name="gog-view-get-toolkit"></a>gog_view_get_toolkit ()</h3>
385
 
<a class="indexterm" name="id2625094"></a><pre class="programlisting">GSListconst       *       gog_view_get_toolkit                (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
 
385
<a class="indexterm" name="id2625085"></a><pre class="programlisting">GSListconst       *       gog_view_get_toolkit                (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
386
386
<p>
387
387
</p>
388
388
<p>
406
406
</div>
407
407
<hr>
408
408
<div class="refsect2" lang="en">
409
 
<a name="id2625153"></a><h3>
 
409
<a name="id2625144"></a><h3>
410
410
<a name="gog-view-render-toolkit"></a>gog_view_render_toolkit ()</h3>
411
 
<a class="indexterm" name="id2625164"></a><pre class="programlisting">void                gog_view_render_toolkit             (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
 
411
<a class="indexterm" name="id2625155"></a><pre class="programlisting">void                gog_view_render_toolkit             (<a href="GogView.html" title="GogView">GogView</a> *view);</pre>
412
412
<p>
413
413
Render toolkit elements.</p>
414
414
<p>
425
425
</div>
426
426
<hr>
427
427
<div class="refsect2" lang="en">
428
 
<a name="id2625214"></a><h3>
 
428
<a name="id2625205"></a><h3>
429
429
<a name="gog-view-get-tool-at-point"></a>gog_view_get_tool_at_point ()</h3>
430
 
<a class="indexterm" name="id2625224"></a><pre class="programlisting"><a href="goffice-GogTool.html#GogTool">GogTool</a>*            gog_view_get_tool_at_point          (<a href="GogView.html" title="GogView">GogView</a> *view,
 
430
<a class="indexterm" name="id2625216"></a><pre class="programlisting"><a href="goffice-GogTool.html#GogTool">GogTool</a>*            gog_view_get_tool_at_point          (<a href="GogView.html" title="GogView">GogView</a> *view,
431
431
                                                         double x,
432
432
                                                         double y,
433
433
                                                         <a href="GogObject.html" title="GogObject">GogObject</a> **gobj);</pre>
471
471
</div>
472
472
<hr>
473
473
<div class="refsect2" lang="en">
474
 
<a name="id2625341"></a><h3>
 
474
<a name="id2625332"></a><h3>
475
475
<a name="gog-view-get-view-at-point"></a>gog_view_get_view_at_point ()</h3>
476
 
<a class="indexterm" name="id2625352"></a><pre class="programlisting"><a href="GogView.html" title="GogView">GogView</a>*            gog_view_get_view_at_point          (<a href="GogView.html" title="GogView">GogView</a> *view,
 
476
<a class="indexterm" name="id2625343"></a><pre class="programlisting"><a href="GogView.html" title="GogView">GogView</a>*            gog_view_get_view_at_point          (<a href="GogView.html" title="GogView">GogView</a> *view,
477
477
                                                         double x,
478
478
                                                         double y,
479
479
                                                         <a href="GogObject.html" title="GogObject">GogObject</a> **obj,
523
523
</div>
524
524
<hr>
525
525
<div class="refsect2" lang="en">
526
 
<a name="id2625512"></a><h3>
 
526
<a name="id2625503"></a><h3>
527
527
<a name="gog-view-size-child-request"></a>gog_view_size_child_request ()</h3>
528
 
<a class="indexterm" name="id2625523"></a><pre class="programlisting">void                gog_view_size_child_request         (<a href="GogView.html" title="GogView">GogView</a> *view,
 
528
<a class="indexterm" name="id2625514"></a><pre class="programlisting">void                gog_view_size_child_request         (<a href="GogView.html" title="GogView">GogView</a> *view,
529
529
                                                         GogViewRequisition const *available,
530
530
                                                         GogViewRequisition *req,
531
531
                                                         GogViewRequisition *min_req);</pre>
564
564
</div>
565
565
</div>
566
566
<div class="refsect1" lang="en">
567
 
<a name="id2625646"></a><h2>Property Details</h2>
 
567
<a name="id2625635"></a><h2>Property Details</h2>
568
568
<div class="refsect2" lang="en">
569
 
<a name="id2625655"></a><h3>
 
569
<a name="id2625645"></a><h3>
570
570
<a name="GogView--model"></a>The <code class="literal">"model"</code> property</h3>
571
 
<a class="indexterm" name="id2625668"></a><pre class="programlisting">  "model"                    <a href="GogObject.html" title="GogObject">GogObject</a>             : Write</pre>
 
571
<a class="indexterm" name="id2625657"></a><pre class="programlisting">  "model"                    <a href="GogObject.html" title="GogObject">GogObject</a>             : Write</pre>
572
572
<p>The GogObject this view displays.</p>
573
573
</div>
574
574
<hr>
575
575
<div class="refsect2" lang="en">
576
 
<a name="id2625687"></a><h3>
 
576
<a name="id2625676"></a><h3>
577
577
<a name="GogView--parent"></a>The <code class="literal">"parent"</code> property</h3>
578
 
<a class="indexterm" name="id2625699"></a><pre class="programlisting">  "parent"                   <a href="GogView.html" title="GogView">GogView</a>               : Write</pre>
 
578
<a class="indexterm" name="id2625689"></a><pre class="programlisting">  "parent"                   <a href="GogView.html" title="GogView">GogView</a>               : Write</pre>
579
579
<p>the GogView parent.</p>
580
580
</div>
581
581
</div>