summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtkvruler.xml
blob: e47d12eaae6856964ea40fb4c41df8c2b3082c7c (plain)
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
<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="class-gtkvruler">
  <refnamediv>
    <refname>gtk.VRuler</refname>
    <refpurpose>a vertical ruler.</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>

    <classsynopsis language="python">
      <ooclass><classname>gtk.VRuler</classname></ooclass>
      <ooclass><classname><link
linkend="class-gtkruler">gtk.Ruler</link></classname></ooclass>
      <constructorsynopsis language="python">
	<methodname><link
linkend="constructor-gtkvruler">gtk.VRuler</link></methodname>
	<methodparam></methodparam>  </constructorsynopsis>
    </classsynopsis>

  </refsect1>

  <refsect1>
    <title>Ancestry</title>

<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
  +-- <link linkend="class-gtkobject">gtk.Object</link>
    +-- <link linkend="class-gtkwidget">gtk.Widget</link>
      +-- <link linkend="class-gtkruler">gtk.Ruler</link>
        +-- <link linkend="class-gtkvruler">gtk.VRuler</link>
</synopsis>

  </refsect1>
  
  <refsect1>
		<title>Implemented Interfaces</title>
		<para>
			<link linkend="class-gtkvruler"><classname>gtk.VRuler</classname></link>
			implements 
			<link linkend="class-gtkbuildable"><classname>gtk.Buildable</classname></link>
		</para>
	</refsect1>

  <refsect1 id="properties-gtkvruler">
    <title>gtk.VRuler Properties</title>

    <para><link linkend="properties-gtkobject">gtk.Object Properties</link></para>
    <para><link linkend="properties-gtkwidget">gtk.Widget Properties</link></para>
    <para><link linkend="properties-gtkruler">gtk.Ruler Properties</link></para>

  </refsect1>

  <refsect1 id="style-properties-gtkvruler">
    <title>gtk.VRuler Style Properties</title>

    <para><link linkend="style-properties-gtkwidget">gtk.Widget Style Properties</link></para>

  </refsect1>

  <refsect1 id="signal-prototypes-gtkvruler">
    <title>gtk.VRuler Signal Prototypes</title>

    <para><link linkend="signal-prototypes-gobject">gobject.GObject Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkobject">gtk.Object Signal Prototypes</link></para>
    <para><link linkend="signal-prototypes-gtkwidget">gtk.Widget Signal Prototypes</link></para>
  </refsect1>

  <refsect1>
    <title>Description</title>

    <note>
      <para>This widget is considered too specialized or little-used for
PyGTK, and will in the future be moved to some other package. If your
application needs this widget, feel free to use it, as the widget does work
and is useful in some applications; it's just not of general interest.
However, it will eventually move out of the PyGTK distribution.</para>
    </note>

    <para>The <link
linkend="class-gtkvruler"><classname>gtk.VRuler</classname></link> widget is
arranged vertically creating a ruler that is used in conjunction with other
widgets such as a text widget. The ruler is used to show the location of the
mouse on the window and to show the size of the window in specified units.
The available units of measurement are <literal>gtk.PIXELS</literal> (the
default), <literal>gtk.INCHES</literal> and
<literal>gtk.CENTIMETERS</literal>. See the <link
linkend="class-gtkruler"><classname>gtk.Ruler</classname></link> description
for more information on the methods that are used to manage a <link
linkend="class-gtkvruler"><classname>gtk.VRuler</classname></link>.</para>

  </refsect1>

  <refsect1 id="constructor-gtkvruler">
    <title>Constructor</title>

    <programlisting><constructorsynopsis language="python">
	<methodname>gtk.VRuler</methodname>
	<methodparam></methodparam>  </constructorsynopsis></programlisting>
    <variablelist>
      <varlistentry>
	<term><emphasis>Returns</emphasis>&nbsp;:</term>
	<listitem><simpara>a new <link
linkend="class-gtkvruler"><classname>gtk.VRuler</classname></link>
widget</simpara></listitem>
      </varlistentry>
    </variablelist>

    <para>Creates a new <link
linkend="class-gtkvruler"><classname>gtk.VRuler</classname></link>
widget.</para>

  </refsect1>

</refentry>