File: classGtk_1_1Scrollbar.html

package info (click to toggle)
gtkmm2.4 1%3A2.12.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 97,528 kB
  • ctags: 33,749
  • sloc: xml: 121,487; cpp: 17,100; sh: 8,982; makefile: 1,150; perl: 161
file content (183 lines) | stat: -rw-r--r-- 10,754 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
180
181
182
183
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Gtk::Scrollbar Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Scrollbar.html">Scrollbar</a></div>
<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" -->Inheritance diagram for Gtk::Scrollbar:<p><center><img src="classGtk_1_1Scrollbar__inherit__graph.png" border="0" usemap="#Gtk_1_1Scrollbar__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1Scrollbar__inherit__map">
<area href="classGtk_1_1HScrollbar.html" shape="rect" coords="5,548,123,574" alt="">
<area href="classGtk_1_1VScrollbar.html" shape="rect" coords="147,548,261,574" alt="">
<area href="classGtk_1_1Range.html" shape="rect" coords="88,393,179,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="87,316,180,342" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="21,238,112,265" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="23,161,116,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="69,84,195,110" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="144,161,253,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="76,6,188,33" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="136,238,267,265" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Scrollbar-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classGtk_1_1Scrollbar.html">Gtk::Scrollbar</a> widget is an abstract base class for <a class="el" href="classGtk_1_1HScrollbar.html">Gtk::HScrollbar</a> and <a class="el" href="classGtk_1_1VScrollbar.html">Gtk::VScrollbar</a>. 
<p>
It is not very useful in itself.<p>
The position of the thumb in a scrollbar is controlled by the scroll adjustments. See <a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a> for the fields in an adjustment - for <a class="el" href="classGtk_1_1Scrollbar.html">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>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkScrollbar*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#8f32e1cc5efad05cedb0e02af5051edd">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#8f32e1cc5efad05cedb0e02af5051edd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkScrollbar*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#37b9bc182ebc88880d99d6dd8155a247">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#37b9bc182ebc88880d99d6dd8155a247"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#62040a465e265688cef0de939d0a5298">~Scrollbar</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Scrollbar.html">Gtk::Scrollbar</a>*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scrollbar.html#0faf964f67656f6af288145c1bb25e3d">wrap</a> (GtkScrollbar* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#0faf964f67656f6af288145c1bb25e3d"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="62040a465e265688cef0de939d0a5298"></a><!-- doxytag: member="Gtk::Scrollbar::~Scrollbar" ref="62040a465e265688cef0de939d0a5298" 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>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8f32e1cc5efad05cedb0e02af5051edd"></a><!-- doxytag: member="Gtk::Scrollbar::gobj" ref="8f32e1cc5efad05cedb0e02af5051edd" 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>&nbsp;)&nbsp;</td>
          <td width="100%"> 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#0c17dc31be91411620518d7250f6bd3c">Gtk::Range</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VScrollbar.html#579bbcb32ea6820d3f881b64b4a0a0da">Gtk::VScrollbar</a>, and <a class="el" href="classGtk_1_1HScrollbar.html#d846afa194ad7a9f39138d4764654fa4">Gtk::HScrollbar</a>.
</div>
</div><p>
<a class="anchor" name="37b9bc182ebc88880d99d6dd8155a247"></a><!-- doxytag: member="Gtk::Scrollbar::gobj" ref="37b9bc182ebc88880d99d6dd8155a247" 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>&nbsp;)&nbsp;</td>
          <td width="100%"><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#d1794114e1e316ce6640cef1dc70720b">Gtk::Range</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VScrollbar.html#5681ed8b45d6e71c97fee8563fafc403">Gtk::VScrollbar</a>, and <a class="el" href="classGtk_1_1HScrollbar.html#e713c43436a82d402a6ec5e8876d8ed0">Gtk::HScrollbar</a>.
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="0faf964f67656f6af288145c1bb25e3d"></a><!-- doxytag: member="Gtk::Scrollbar::wrap" ref="0faf964f67656f6af288145c1bb25e3d" 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 *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="scrollbar_8h.html">scrollbar.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>