File: classGtk_1_1Scrollbar.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (179 lines) | stat: -rw-r--r-- 12,298 bytes parent folder | download
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::Scrollbar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Scrollbar.html">Scrollbar</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Scrollbar Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Scrollbar" --><!-- doxytag: inherits="Gtk::Range" -->
<p>The <a class="el" href="classGtk_1_1Scrollbar.html" title="The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar...">Gtk::Scrollbar</a> widget is an abstract base class for <a class="el" href="classGtk_1_1HScrollbar.html" title="A horizontal scrollbar.">Gtk::HScrollbar</a> and <a class="el" href="classGtk_1_1VScrollbar.html" title="A vertical scrollbar.">Gtk::VScrollbar</a>. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Range.html">Gtk::Range</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1HScrollbar.html">Gtk::HScrollbar</a>, and <a class="el" href="classGtk_1_1VScrollbar.html">Gtk::VScrollbar</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Scrollbar:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Scrollbar__coll__graph.png" border="0" usemap="#Gtk_1_1Scrollbar_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Scrollbar_coll__map" id="Gtk_1_1Scrollbar_coll__map">
<area shape="rect" href="classGtk_1_1Range.html" title="Base class for widgets which visualize an adjustment." alt="" coords="69,392,157,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Scrollbar-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#a62040a465e265688cef0de939d0a5298">~Scrollbar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkScrollbar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#a37b9bc182ebc88880d99d6dd8155a247">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a37b9bc182ebc88880d99d6dd8155a247"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkScrollbar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#ac3128aa0a3a8116b3c7b740184085cf8">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#ac3128aa0a3a8116b3c7b740184085cf8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Scrollbar.html">Gtk::Scrollbar</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#a0faf964f67656f6af288145c1bb25e3d">wrap</a> (GtkScrollbar* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a0faf964f67656f6af288145c1bb25e3d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="classGtk_1_1Scrollbar.html" title="The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar...">Gtk::Scrollbar</a> widget is an abstract base class for <a class="el" href="classGtk_1_1HScrollbar.html" title="A horizontal scrollbar.">Gtk::HScrollbar</a> and <a class="el" href="classGtk_1_1VScrollbar.html" title="A vertical scrollbar.">Gtk::VScrollbar</a>. </p>
<p>It is not very useful in itself.</p>
<p>The position of the thumb in a scrollbar is controlled by the scroll adjustments. See <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> for the fields in an adjustment - for <a class="el" href="classGtk_1_1Scrollbar.html" title="The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar...">Gtk::Scrollbar</a>, the "value" field represents the position of the scrollbar, which must be between the "lower" field and "upper - page_size." The "page_size" field represents the size of the visible scrollable area. The "step_increment" and "page_increment" fields are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key). </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a62040a465e265688cef0de939d0a5298"></a><!-- doxytag: member="Gtk::Scrollbar::~Scrollbar" ref="a62040a465e265688cef0de939d0a5298" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Scrollbar::~Scrollbar </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac3128aa0a3a8116b3c7b740184085cf8"></a><!-- doxytag: member="Gtk::Scrollbar::gobj" ref="ac3128aa0a3a8116b3c7b740184085cf8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkScrollbar* Gtk::Scrollbar::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Range.html#ad575889c11d88b292188506b361321e5">Gtk::Range</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1VScrollbar.html#a2e550157a3a2dc18478b2e6f1a74270c">Gtk::VScrollbar</a>, and <a class="el" href="classGtk_1_1HScrollbar.html#a9a6e4e47e633bb9d1d0680587d1ced0b">Gtk::HScrollbar</a>.</p>

</div>
</div>
<a class="anchor" id="a37b9bc182ebc88880d99d6dd8155a247"></a><!-- doxytag: member="Gtk::Scrollbar::gobj" ref="a37b9bc182ebc88880d99d6dd8155a247" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkScrollbar* Gtk::Scrollbar::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Range.html#ad1794114e1e316ce6640cef1dc70720b">Gtk::Range</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1VScrollbar.html#a5681ed8b45d6e71c97fee8563fafc403">Gtk::VScrollbar</a>, and <a class="el" href="classGtk_1_1HScrollbar.html#ae713c43436a82d402a6ec5e8876d8ed0">Gtk::HScrollbar</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a0faf964f67656f6af288145c1bb25e3d"></a><!-- doxytag: member="Gtk::Scrollbar::wrap" ref="a0faf964f67656f6af288145c1bb25e3d" args="(GtkScrollbar *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Scrollbar.html">Gtk::Scrollbar</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkScrollbar *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/scrollbar.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:00 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>