goocanvas 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. data/ChangeLog +87 -0
  2. data/README +37 -0
  3. data/Rakefile +14 -0
  4. data/ext/goocanvas/depend +5 -0
  5. data/ext/goocanvas/extconf.rb +66 -0
  6. data/ext/goocanvas/goocanvas.def +2 -0
  7. data/ext/goocanvas/rbgoocairo.c +74 -0
  8. data/ext/goocanvas/rbgoocanvas.c +236 -0
  9. data/ext/goocanvas/rbgoocanvas.h +66 -0
  10. data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
  11. data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
  12. data/ext/goocanvas/rbgoocanvasimage.c +45 -0
  13. data/ext/goocanvas/rbgoocanvasitem.c +358 -0
  14. data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
  15. data/ext/goocanvas/rbgoocanvasrect.c +47 -0
  16. data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
  17. data/ext/goocanvas/rbgoocanvastable.c +41 -0
  18. data/ext/goocanvas/rbgoocanvastext.c +58 -0
  19. data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
  20. data/ext/goocanvas/rbgooutils.c +44 -0
  21. data/extconf.rb +49 -0
  22. data/lib/1.8/goocanvas.so +0 -0
  23. data/lib/1.9/goocanvas.so +0 -0
  24. data/lib/goocanvas.rb +145 -0
  25. data/sample/demo-arrowhead.rb +315 -0
  26. data/sample/demo-fifteen.rb +218 -0
  27. data/sample/demo-primitives.rb +720 -0
  28. data/sample/demo.rb +84 -0
  29. data/sample/flower.png +0 -0
  30. data/sample/scalability-demo.rb +130 -0
  31. data/sample/simple-demo.rb +35 -0
  32. data/sample/table-demo.rb +137 -0
  33. data/sample/toroid.png +0 -0
  34. data/sample/units-demo.rb +80 -0
  35. data/sample/widgets-demo.rb +197 -0
  36. data/vendor/local/bin/libgoocanvas-3.dll +0 -0
  37. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
  38. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
  39. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
  40. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
  41. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
  42. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
  43. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
  44. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
  45. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
  46. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
  47. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
  48. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
  49. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
  50. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
  51. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
  52. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
  53. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
  54. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
  55. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
  56. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
  57. data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
  58. data/vendor/local/lib/libgoocanvas.a +0 -0
  59. data/vendor/local/lib/libgoocanvas.dll.a +0 -0
  60. data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
  61. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
  62. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
  63. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
  64. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
  65. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
  66. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
  67. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
  68. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
  69. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
  70. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
  71. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
  72. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
  73. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
  74. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
  75. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
  76. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
  78. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
  79. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
  80. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
  81. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
  82. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
  83. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
  84. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
  85. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
  86. data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
  87. data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
  88. data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
  89. data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
  90. data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
  91. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
  92. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
  93. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
  94. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
  95. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
  96. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
  97. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
  98. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
  99. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
  100. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
  101. data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
  103. data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
  104. data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
  107. data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
  108. data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
  109. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
  110. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
  111. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
  112. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
  113. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
  114. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
  115. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
  116. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
  117. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
  118. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
  119. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
  120. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
  121. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
  122. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
  123. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
  124. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
  125. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
  126. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
  127. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
  128. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
  129. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
  130. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
  131. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
  132. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
  133. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
  134. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
  135. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
  136. metadata +218 -0
@@ -0,0 +1,287 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GooCanvasTextModel</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8
+ <link rel="up" href="ch04.html" title="Standard Canvas Item Models">
9
+ <link rel="prev" href="GooCanvasRectModel.html" title="GooCanvasRectModel">
10
+ <link rel="next" href="GooCanvasTableModel.html" title="GooCanvasTableModel">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GooCanvasRectModel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
21
+ <td><a accesskey="n" href="GooCanvasTableModel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GooCanvasTextModel.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasTextModel.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasTextModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasTextModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+  | 
32
+ <a href="#GooCanvasTextModel.properties" class="shortcut">Properties</a>
33
+ </td></tr>
34
+ </table>
35
+ <div class="refentry" title="GooCanvasTextModel">
36
+ <a name="GooCanvasTextModel"></a><div class="titlepage"></div>
37
+ <div class="refnamediv"><table width="100%"><tr>
38
+ <td valign="top">
39
+ <h2><span class="refentrytitle"><a name="GooCanvasTextModel.top_of_page"></a>GooCanvasTextModel</span></h2>
40
+ <p>GooCanvasTextModel — a model for text items.</p>
41
+ </td>
42
+ <td valign="top" align="right"></td>
43
+ </tr></table></div>
44
+ <div class="refsynopsisdiv" title="Synopsis">
45
+ <a name="GooCanvasTextModel.synopsis"></a><h2>Synopsis</h2>
46
+ <pre class="synopsis"> <a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel-struct" title="GooCanvasTextModel">GooCanvasTextModel</a>;
47
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasTextModel.html#goo-canvas-text-model-new" title="goo_canvas_text_model_new ()">goo_canvas_text_model_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
48
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
49
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
50
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
51
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
52
+ <em class="parameter"><code><span class="type">GtkAnchorType</span> anchor</code></em>,
53
+ <em class="parameter"><code>...</code></em>);
54
+ </pre>
55
+ </div>
56
+ <div class="refsect1" title="Object Hierarchy">
57
+ <a name="GooCanvasTextModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
+ <pre class="synopsis">
59
+ GObject
60
+ +----<a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">GooCanvasItemModelSimple</a>
61
+ +----GooCanvasTextModel
62
+ </pre>
63
+ </div>
64
+ <div class="refsect1" title="Implemented Interfaces">
65
+ <a name="GooCanvasTextModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
66
+ <p>
67
+ GooCanvasTextModel implements
68
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel">GooCanvasItemModel</a>.</p>
69
+ </div>
70
+ <div class="refsect1" title="Properties">
71
+ <a name="GooCanvasTextModel.properties"></a><h2>Properties</h2>
72
+ <pre class="synopsis">
73
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--alignment" title='The "alignment" property'>alignment</a>" <span class="type">PangoAlignment</span> : Read / Write
74
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--anchor" title='The "anchor" property'>anchor</a>" <span class="type">GtkAnchorType</span> : Read / Write
75
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <span class="type">PangoEllipsizeMode</span> : Read / Write
76
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
77
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--text" title='The "text" property'>text</a>" <span class="type">gchar</span>* : Read / Write
78
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--use-markup" title='The "use-markup" property'>use-markup</a>" <span class="type">gboolean</span> : Read / Write
79
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
80
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--wrap" title='The "wrap" property'>wrap</a>" <span class="type">PangoWrapMode</span> : Read / Write
81
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
82
+ "<a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
83
+ </pre>
84
+ </div>
85
+ <div class="refsect1" title="Description">
86
+ <a name="GooCanvasTextModel.description"></a><h2>Description</h2>
87
+ <p>
88
+ GooCanvasTextModel represents a model for text items.
89
+ </p>
90
+ <p>
91
+ It is a subclass of <a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple"><span class="type">GooCanvasItemModelSimple</span></a> and so inherits all of the
92
+ style properties such as "fill-color".
93
+ </p>
94
+ <p>
95
+ It also implements the <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface, so you can use the
96
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> functions such as <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-raise" title="goo_canvas_item_model_raise ()"><code class="function">goo_canvas_item_model_raise()</code></a> and
97
+ <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-rotate" title="goo_canvas_item_model_rotate ()"><code class="function">goo_canvas_item_model_rotate()</code></a>.
98
+ </p>
99
+ <p>
100
+ To create a <a class="link" href="GooCanvasTextModel.html" title="GooCanvasTextModel"><span class="type">GooCanvasTextModel</span></a> use <a class="link" href="GooCanvasTextModel.html#goo-canvas-text-model-new" title="goo_canvas_text_model_new ()"><code class="function">goo_canvas_text_model_new()</code></a>.
101
+ </p>
102
+ <p>
103
+ To get or set the properties of an existing <a class="link" href="GooCanvasTextModel.html" title="GooCanvasTextModel"><span class="type">GooCanvasTextModel</span></a>, use
104
+ <code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
105
+ </p>
106
+ <p>
107
+ To respond to events such as mouse clicks on the text item you must connect
108
+ to the signal handlers of the corresponding <a class="link" href="GooCanvasText.html" title="GooCanvasText"><span class="type">GooCanvasText</span></a> objects.
109
+ (See <a class="link" href="GooCanvas.html#goo-canvas-get-item" title="goo_canvas_get_item ()"><code class="function">goo_canvas_get_item()</code></a> and <a class="link" href="GooCanvas.html#GooCanvas-item-created" title='The "item-created" signal'><span class="type">"item-created"</span></a>.)
110
+ </p>
111
+ </div>
112
+ <div class="refsect1" title="Details">
113
+ <a name="GooCanvasTextModel.details"></a><h2>Details</h2>
114
+ <div class="refsect2" title="GooCanvasTextModel">
115
+ <a name="GooCanvasTextModel-struct"></a><h3>GooCanvasTextModel</h3>
116
+ <pre class="programlisting">typedef struct _GooCanvasTextModel GooCanvasTextModel;</pre>
117
+ <p>
118
+ The <a class="link" href="GooCanvasTextModel.html#GooCanvasTextModel-struct" title="GooCanvasTextModel"><span class="type">GooCanvasTextModel</span></a> struct contains private data only.
119
+ </p>
120
+ </div>
121
+ <hr>
122
+ <div class="refsect2" title="goo_canvas_text_model_new ()">
123
+ <a name="goo-canvas-text-model-new"></a><h3>goo_canvas_text_model_new ()</h3>
124
+ <pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_text_model_new (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
125
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
126
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
127
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
128
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
129
+ <em class="parameter"><code><span class="type">GtkAnchorType</span> anchor</code></em>,
130
+ <em class="parameter"><code>...</code></em>);</pre>
131
+ <p>
132
+ Creates a new text model.
133
+ </p>
134
+ <div class="variablelist"><table border="0">
135
+ <col align="left" valign="top">
136
+ <tbody>
137
+ <tr>
138
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
139
+ <td>the parent model, or <code class="literal">NULL</code>. If a parent is specified, it will
140
+ assume ownership of the item, and the item will automatically be freed when
141
+ it is removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
146
+ <td>the text to display.
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
151
+ <td>the x coordinate of the text.
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
156
+ <td>the y coordinate of the text.
157
+ </td>
158
+ </tr>
159
+ <tr>
160
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
161
+ <td>the width of the text item, or -1 for unlimited width.
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td><p><span class="term"><em class="parameter"><code>anchor</code></em> :</span></p></td>
166
+ <td>the position of the text relative to the given <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em>
167
+ coordinates. For example an anchor of <code class="literal">GDK_ANCHOR_NW</code> will result in the
168
+ top-left of the text being placed at the given <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> coordinates.
169
+ An anchor of <code class="literal">GDK_ANCHOR_CENTER</code> will result in the center of the text being
170
+ placed at the <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> coordinates.
171
+ </td>
172
+ </tr>
173
+ <tr>
174
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
175
+ <td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
180
+ <td> a new text model.
181
+ </td>
182
+ </tr>
183
+ </tbody>
184
+ </table></div>
185
+ <p>
186
+ Here's an example showing how to create a text item with the bottom right
187
+ of the text box placed at (500,500):
188
+ </p>
189
+ <p>
190
+ </p>
191
+ <div class="informalexample">
192
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
193
+ <tbody>
194
+ <tr>
195
+ <td class="listing_lines" align="right"><pre>1
196
+ 2
197
+ 3</pre></td>
198
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItemModel.html">GooCanvasItemModel</a> </span><span class="symbol">*</span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasTextModel.html#goo-canvas-text-model-new">goo_canvas_text_model_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Hello World"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">500.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">500.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span><span class="normal"> GTK_ANCHOR_SE</span><span class="symbol">,</span>
199
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
200
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
201
+ </tr>
202
+ </tbody>
203
+ </table>
204
+ </div>
205
+
206
+ <p>
207
+ </p>
208
+ </div>
209
+ </div>
210
+ <div class="refsect1" title="Property Details">
211
+ <a name="GooCanvasTextModel.property-details"></a><h2>Property Details</h2>
212
+ <div class="refsect2" title='The "alignment" property'>
213
+ <a name="GooCanvasTextModel--alignment"></a><h3>The <code class="literal">"alignment"</code> property</h3>
214
+ <pre class="programlisting"> "alignment" <span class="type">PangoAlignment</span> : Read / Write</pre>
215
+ <p>How to align the text.</p>
216
+ <p>Default value: PANGO_ALIGN_LEFT</p>
217
+ </div>
218
+ <hr>
219
+ <div class="refsect2" title='The "anchor" property'>
220
+ <a name="GooCanvasTextModel--anchor"></a><h3>The <code class="literal">"anchor"</code> property</h3>
221
+ <pre class="programlisting"> "anchor" <span class="type">GtkAnchorType</span> : Read / Write</pre>
222
+ <p>How to position the text relative to the given x and y coordinates.</p>
223
+ <p>Default value: GTK_ANCHOR_NORTH_WEST</p>
224
+ </div>
225
+ <hr>
226
+ <div class="refsect2" title='The "ellipsize" property'>
227
+ <a name="GooCanvasTextModel--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
228
+ <pre class="programlisting"> "ellipsize" <span class="type">PangoEllipsizeMode</span> : Read / Write</pre>
229
+ <p>The preferred place to ellipsize the string, if the label does not have enough room to display the entire string.</p>
230
+ <p>Default value: PANGO_ELLIPSIZE_NONE</p>
231
+ </div>
232
+ <hr>
233
+ <div class="refsect2" title='The "height" property'>
234
+ <a name="GooCanvasTextModel--height"></a><h3>The <code class="literal">"height"</code> property</h3>
235
+ <pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
236
+ <p>The height to use to layout the text, or -1 to let the text use as much vertical space as needed.</p>
237
+ <p>Default value: -1</p>
238
+ </div>
239
+ <hr>
240
+ <div class="refsect2" title='The "text" property'>
241
+ <a name="GooCanvasTextModel--text"></a><h3>The <code class="literal">"text"</code> property</h3>
242
+ <pre class="programlisting"> "text" <span class="type">gchar</span>* : Read / Write</pre>
243
+ <p>The text to display.</p>
244
+ <p>Default value: NULL</p>
245
+ </div>
246
+ <hr>
247
+ <div class="refsect2" title='The "use-markup" property'>
248
+ <a name="GooCanvasTextModel--use-markup"></a><h3>The <code class="literal">"use-markup"</code> property</h3>
249
+ <pre class="programlisting"> "use-markup" <span class="type">gboolean</span> : Read / Write</pre>
250
+ <p>Whether to parse PangoMarkup in the text, to support different styles.</p>
251
+ <p>Default value: FALSE</p>
252
+ </div>
253
+ <hr>
254
+ <div class="refsect2" title='The "width" property'>
255
+ <a name="GooCanvasTextModel--width"></a><h3>The <code class="literal">"width"</code> property</h3>
256
+ <pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
257
+ <p>The width to use to layout the text, or -1 to let the text use as much horizontal space as needed.</p>
258
+ <p>Default value: -1</p>
259
+ </div>
260
+ <hr>
261
+ <div class="refsect2" title='The "wrap" property'>
262
+ <a name="GooCanvasTextModel--wrap"></a><h3>The <code class="literal">"wrap"</code> property</h3>
263
+ <pre class="programlisting"> "wrap" <span class="type">PangoWrapMode</span> : Read / Write</pre>
264
+ <p>The preferred method of wrapping the string if a width has been set.</p>
265
+ <p>Default value: PANGO_WRAP_WORD</p>
266
+ </div>
267
+ <hr>
268
+ <div class="refsect2" title='The "x" property'>
269
+ <a name="GooCanvasTextModel--x"></a><h3>The <code class="literal">"x"</code> property</h3>
270
+ <pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
271
+ <p>The x coordinate of the text.</p>
272
+ <p>Default value: 0</p>
273
+ </div>
274
+ <hr>
275
+ <div class="refsect2" title='The "y" property'>
276
+ <a name="GooCanvasTextModel--y"></a><h3>The <code class="literal">"y"</code> property</h3>
277
+ <pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
278
+ <p>The y coordinate of the text.</p>
279
+ <p>Default value: 0</p>
280
+ </div>
281
+ </div>
282
+ </div>
283
+ <div class="footer">
284
+ <hr>
285
+ Generated by GTK-Doc V1.14</div>
286
+ </body>
287
+ </html>
@@ -0,0 +1,266 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GooCanvasWidget</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8
+ <link rel="up" href="ch03.html" title="Standard Canvas Items">
9
+ <link rel="prev" href="GooCanvasText.html" title="GooCanvasText">
10
+ <link rel="next" href="GooCanvasTable.html" title="GooCanvasTable">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GooCanvasText.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
21
+ <td><a accesskey="n" href="GooCanvasTable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GooCanvasWidget.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasWidget.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasWidget.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasWidget.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+  | 
32
+ <a href="#GooCanvasWidget.properties" class="shortcut">Properties</a>
33
+ </td></tr>
34
+ </table>
35
+ <div class="refentry" title="GooCanvasWidget">
36
+ <a name="GooCanvasWidget"></a><div class="titlepage"></div>
37
+ <div class="refnamediv"><table width="100%"><tr>
38
+ <td valign="top">
39
+ <h2><span class="refentrytitle"><a name="GooCanvasWidget.top_of_page"></a>GooCanvasWidget</span></h2>
40
+ <p>GooCanvasWidget — an embedded widget item.</p>
41
+ </td>
42
+ <td valign="top" align="right"></td>
43
+ </tr></table></div>
44
+ <div class="refsynopsisdiv" title="Synopsis">
45
+ <a name="GooCanvasWidget.synopsis"></a><h2>Synopsis</h2>
46
+ <pre class="synopsis"> <a class="link" href="GooCanvasWidget.html#GooCanvasWidget-struct" title="GooCanvasWidget">GooCanvasWidget</a>;
47
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasWidget.html#goo-canvas-widget-new" title="goo_canvas_widget_new ()">goo_canvas_widget_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
48
+ <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
49
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
50
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
51
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
52
+ <em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
53
+ <em class="parameter"><code>...</code></em>);
54
+ </pre>
55
+ </div>
56
+ <div class="refsect1" title="Object Hierarchy">
57
+ <a name="GooCanvasWidget.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
+ <pre class="synopsis">
59
+ GObject
60
+ +----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
61
+ +----GooCanvasWidget
62
+ </pre>
63
+ </div>
64
+ <div class="refsect1" title="Implemented Interfaces">
65
+ <a name="GooCanvasWidget.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
66
+ <p>
67
+ GooCanvasWidget implements
68
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
69
+ </div>
70
+ <div class="refsect1" title="Properties">
71
+ <a name="GooCanvasWidget.properties"></a><h2>Properties</h2>
72
+ <pre class="synopsis">
73
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--anchor" title='The "anchor" property'>anchor</a>" <span class="type">GtkAnchorType</span> : Read / Write
74
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
75
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--widget" title='The "widget" property'>widget</a>" <span class="type">GtkWidget</span>* : Read / Write
76
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
77
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
78
+ "<a class="link" href="GooCanvasWidget.html#GooCanvasWidget--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
79
+ </pre>
80
+ </div>
81
+ <div class="refsect1" title="Description">
82
+ <a name="GooCanvasWidget.description"></a><h2>Description</h2>
83
+ <p>
84
+ GooCanvasWidget provides support for placing any GtkWidget in the canvas.
85
+ </p>
86
+ <p>
87
+ The <a class="link" href="GooCanvasWidget.html#GooCanvasWidget--width" title='The "width" property'><span class="type">"width"</span></a> and <a class="link" href="GooCanvasWidget.html#GooCanvasWidget--height" title='The "height" property'><span class="type">"height"</span></a> properties specify
88
+ the widget's size. If either of them is -1, then the requested size of the
89
+ widget is used instead, which is the default for both width and height.
90
+ </p>
91
+ <p>
92
+ Note that there are a number of limitations in the use of <a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a>:
93
+ </p>
94
+ <p>
95
+ </p>
96
+ <div class="itemizedlist"><ul class="itemizedlist" type="disc">
97
+ <li class="listitem"><p>
98
+ It doesn't support any transformation besides simple translation.
99
+ This means you can't scale a canvas with a <a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a> in it.
100
+ </p></li>
101
+ <li class="listitem"><p>
102
+ It doesn't support layering, so you can't place other items beneath
103
+ or above the <a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a>.
104
+ </p></li>
105
+ <li class="listitem"><p>
106
+ It doesn't support rendering of widgets to a given cairo_t, which
107
+ means you can't output the widget to a pdf or postscript file.
108
+ </p></li>
109
+ <li class="listitem"><p>
110
+ It doesn't have a model/view variant like the other standard items,
111
+ so it can only be used in a simple canvas without a model.
112
+ </p></li>
113
+ <li class="listitem"><p>
114
+ It can't be made a static item.
115
+ </p></li>
116
+ </ul></div>
117
+ <p>
118
+ </p>
119
+ </div>
120
+ <div class="refsect1" title="Details">
121
+ <a name="GooCanvasWidget.details"></a><h2>Details</h2>
122
+ <div class="refsect2" title="GooCanvasWidget">
123
+ <a name="GooCanvasWidget-struct"></a><h3>GooCanvasWidget</h3>
124
+ <pre class="programlisting">typedef struct _GooCanvasWidget GooCanvasWidget;</pre>
125
+ <p>
126
+ The <a class="link" href="GooCanvasWidget.html#GooCanvasWidget-struct" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a> struct contains private data only.
127
+ </p>
128
+ </div>
129
+ <hr>
130
+ <div class="refsect2" title="goo_canvas_widget_new ()">
131
+ <a name="goo-canvas-widget-new"></a><h3>goo_canvas_widget_new ()</h3>
132
+ <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_widget_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
133
+ <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
134
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
135
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
136
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
137
+ <em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
138
+ <em class="parameter"><code>...</code></em>);</pre>
139
+ <p>
140
+ Creates a new widget item.
141
+ </p>
142
+ <div class="variablelist"><table border="0">
143
+ <col align="left" valign="top">
144
+ <tbody>
145
+ <tr>
146
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
147
+ <td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
148
+ ownership of the item, and the item will automatically be freed when it is
149
+ removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
154
+ <td>the widget.
155
+ </td>
156
+ </tr>
157
+ <tr>
158
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
159
+ <td>the x coordinate of the item.
160
+ </td>
161
+ </tr>
162
+ <tr>
163
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
164
+ <td>the y coordinate of the item.
165
+ </td>
166
+ </tr>
167
+ <tr>
168
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
169
+ <td>the width of the item, or -1 to use the widget's requested width.
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
174
+ <td>the height of the item, or -1 to use the widget's requested height.
175
+ </td>
176
+ </tr>
177
+ <tr>
178
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
179
+ <td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
180
+ </td>
181
+ </tr>
182
+ <tr>
183
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
184
+ <td> a new widget item.
185
+ </td>
186
+ </tr>
187
+ </tbody>
188
+ </table></div>
189
+ <p>
190
+ Here's an example showing how to create an entry widget centered at (100.0,
191
+ 100.0):
192
+ </p>
193
+ <p>
194
+ </p>
195
+ <div class="informalexample">
196
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
197
+ <tbody>
198
+ <tr>
199
+ <td class="listing_lines" align="right"><pre>1
200
+ 2
201
+ 3
202
+ 4
203
+ 5</pre></td>
204
+ <td class="listing_code"><pre class="programlisting"><span class="normal">GtkWidget </span><span class="symbol">*</span><span class="normal">entry </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_entry_new</span><span class="normal"> </span><span class="symbol">();</span>
205
+ <span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">witem </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasWidget.html#goo-canvas-widget-new">goo_canvas_widget_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> entry</span><span class="symbol">,</span>
206
+ <span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span>
207
+ <span class="normal"> </span><span class="string">"anchor"</span><span class="symbol">,</span><span class="normal"> GTK_ANCHOR_CENTER</span><span class="symbol">,</span>
208
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
209
+ </tr>
210
+ </tbody>
211
+ </table>
212
+ </div>
213
+
214
+ <p>
215
+ </p>
216
+ </div>
217
+ </div>
218
+ <div class="refsect1" title="Property Details">
219
+ <a name="GooCanvasWidget.property-details"></a><h2>Property Details</h2>
220
+ <div class="refsect2" title='The "anchor" property'>
221
+ <a name="GooCanvasWidget--anchor"></a><h3>The <code class="literal">"anchor"</code> property</h3>
222
+ <pre class="programlisting"> "anchor" <span class="type">GtkAnchorType</span> : Read / Write</pre>
223
+ <p>How to position the widget relative to the item's x and y coordinate settings.</p>
224
+ <p>Default value: GTK_ANCHOR_NORTH_WEST</p>
225
+ </div>
226
+ <hr>
227
+ <div class="refsect2" title='The "height" property'>
228
+ <a name="GooCanvasWidget--height"></a><h3>The <code class="literal">"height"</code> property</h3>
229
+ <pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
230
+ <p>The height of the widget, or -1 to use its requested height.</p>
231
+ <p>Default value: -1</p>
232
+ </div>
233
+ <hr>
234
+ <div class="refsect2" title='The "widget" property'>
235
+ <a name="GooCanvasWidget--widget"></a><h3>The <code class="literal">"widget"</code> property</h3>
236
+ <pre class="programlisting"> "widget" <span class="type">GtkWidget</span>* : Read / Write</pre>
237
+ <p>The widget to place in the canvas.</p>
238
+ </div>
239
+ <hr>
240
+ <div class="refsect2" title='The "width" property'>
241
+ <a name="GooCanvasWidget--width"></a><h3>The <code class="literal">"width"</code> property</h3>
242
+ <pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
243
+ <p>The width of the widget, or -1 to use its requested width.</p>
244
+ <p>Default value: -1</p>
245
+ </div>
246
+ <hr>
247
+ <div class="refsect2" title='The "x" property'>
248
+ <a name="GooCanvasWidget--x"></a><h3>The <code class="literal">"x"</code> property</h3>
249
+ <pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
250
+ <p>The x coordinate of the widget.</p>
251
+ <p>Default value: 0</p>
252
+ </div>
253
+ <hr>
254
+ <div class="refsect2" title='The "y" property'>
255
+ <a name="GooCanvasWidget--y"></a><h3>The <code class="literal">"y"</code> property</h3>
256
+ <pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
257
+ <p>The y coordinate of the widget.</p>
258
+ <p>Default value: 0</p>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ <div class="footer">
263
+ <hr>
264
+ Generated by GTK-Doc V1.14</div>
265
+ </body>
266
+ </html>
@@ -0,0 +1,53 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Introduction</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8
+ <link rel="up" href="index.html" title="GooCanvas Reference Manual">
9
+ <link rel="prev" href="index.html" title="GooCanvas Reference Manual">
10
+ <link rel="next" href="goocanvas-overview.html" title="Overview">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td> </td>
18
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
20
+ <td><a accesskey="n" href="goocanvas-overview.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
+ </tr></table>
22
+ <div class="chapter" title="Introduction">
23
+ <div class="titlepage"><div><div><h2 class="title">
24
+ <a name="id2828762"></a>Introduction</h2></div></div></div>
25
+ <div class="toc"><dl>
26
+ <dt>
27
+ <span class="refentrytitle"><a href="goocanvas-overview.html">Overview</a></span><span class="refpurpose"> — a quick tour of GooCanvas.</span>
28
+ </dt>
29
+ <dt>
30
+ <span class="refentrytitle"><a href="goocanvas-simple-canvas.html">Simple Canvas Example</a></span><span class="refpurpose"> — how to create a simple canvas.</span>
31
+ </dt>
32
+ <dt>
33
+ <span class="refentrytitle"><a href="goocanvas-model-view-canvas.html">Model/View Canvas Example</a></span><span class="refpurpose"> — how to create a model/view canvas.</span>
34
+ </dt>
35
+ <dt>
36
+ <span class="refentrytitle"><a href="goocanvas-architecture.html">Underlying Architecture</a></span><span class="refpurpose"> — how the canvas fits together.</span>
37
+ </dt>
38
+ <dt>
39
+ <span class="refentrytitle"><a href="goocanvas-coordinates.html">Coordinate Spaces and Limits</a></span><span class="refpurpose"> — how coordinates are used.</span>
40
+ </dt>
41
+ <dt>
42
+ <span class="refentrytitle"><a href="goocanvas-creating-items.html">Creating New Items</a></span><span class="refpurpose"> — how to create new canvas items.</span>
43
+ </dt>
44
+ <dt>
45
+ <span class="refentrytitle"><a href="goocanvas-wysiwyg.html">WYSIWYG Printing</a></span><span class="refpurpose"> — how to use the canvas to create accurate printed output.</span>
46
+ </dt>
47
+ </dl></div>
48
+ </div>
49
+ <div class="footer">
50
+ <hr>
51
+ Generated by GTK-Doc V1.14</div>
52
+ </body>
53
+ </html>