File: GnomeCanvasWidget.html

package info (click to toggle)
libgnomecanvas 2.30.3-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,868 kB
  • sloc: ansic: 15,402; sh: 11,080; makefile: 204
file content (158 lines) | stat: -rw-r--r-- 8,531 bytes parent folder | download | duplicates (5)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeCanvasWidget</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME Canvas Library Reference Manual">
<link rel="up" href="ch02.html" title="GNOME Canvas Library (libgnomecanvas)">
<link rel="prev" href="libgnomecanvas-gnome-canvas-text.html" title="GnomeCanvasText">
<link rel="next" href="libgnomecanvas-gnome-canvas-path-def.html" title="gnome-canvas-path-def">
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgnomecanvas-gnome-canvas-text.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME Canvas Library Reference Manual</th>
<td><a accesskey="n" href="libgnomecanvas-gnome-canvas-path-def.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeCanvasWidget.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GnomeCanvasWidget.description" class="shortcut">Description</a>
                   | 
                  <a href="#GnomeCanvasWidget.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GnomeCanvasWidget.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GnomeCanvasWidget"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeCanvasWidget.top_of_page"></a>GnomeCanvasWidget</span></h2>
<p>GnomeCanvasWidget — Widget canvas item</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeCanvasWidget.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomecanvas/libgnomecanvas.h&gt;

struct              <a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget-struct" title="struct GnomeCanvasWidget">GnomeCanvasWidget</a>;
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasWidget.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="../gtk/GtkObject.html">GtkObject</a>
               +----<a class="link" href="GnomeCanvasItem.html" title="GnomeCanvasItem">GnomeCanvasItem</a>
                     +----GnomeCanvasWidget
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasWidget.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--anchor" title='The "anchor" property'>anchor</a>"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></a>         : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--height" title='The "height" property'>height</a>"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--size-pixels" title='The "size-pixels" property'>size-pixels</a>"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--widget" title='The "widget" property'>widget</a>"                   <a href="../gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>*            : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--width" title='The "width" property'>width</a>"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--x" title='The "x" property'>x</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasWidget.html#GnomeCanvasWidget--y" title='The "y" property'>y</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasWidget.description"></a><h2>Description</h2>
<p>
A canvas item for placing arbitrary GtkWidget objects onto a canvas.
</p>
</div>
<div class="refsect1">
<a name="GnomeCanvasWidget.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeCanvasWidget-struct"></a><h3>struct GnomeCanvasWidget</h3>
<pre class="programlisting">struct GnomeCanvasWidget;</pre>
<p>
This structure should not be accessed directly. Use the object's properties
for querying or changing its parameters.
</p>
</div>
</div>
<div class="refsect1">
<a name="GnomeCanvasWidget.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeCanvasWidget--anchor"></a><h3>The <code class="literal">"anchor"</code> property</h3>
<pre class="programlisting">  "anchor"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></a>         : Read / Write</pre>
<p>
Anchor position for widget.
</p>
<p>Default value: GTK_ANCHOR_NORTH_WEST</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--height"></a><h3>The <code class="literal">"height"</code> property</h3>
<pre class="programlisting">  "height"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Height of widget (units specified by "size-pixels" property).
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--size-pixels"></a><h3>The <code class="literal">"size-pixels"</code> property</h3>
<pre class="programlisting">  "size-pixels"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Specifies whether the widget size is specified in pixels or canvas units.
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--widget"></a><h3>The <code class="literal">"widget"</code> property</h3>
<pre class="programlisting">  "widget"                   <a href="../gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>*            : Read / Write</pre>
<p>
Pointer to the widget.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--width"></a><h3>The <code class="literal">"width"</code> property</h3>
<pre class="programlisting">  "width"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Width of widget (units specified by "size-pixels" property).
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--x"></a><h3>The <code class="literal">"x"</code> property</h3>
<pre class="programlisting">  "x"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
X coordinate of anchor point.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasWidget--y"></a><h3>The <code class="literal">"y"</code> property</h3>
<pre class="programlisting">  "y"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Y coordinate of anchor point.
</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>