1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 /*
25  * Conversion parameters:
26  * inFile  = GtkScrollbar.html
27  * outPack = gtk
28  * outFile = Scrollbar
29  * strct   = GtkScrollbar
30  * realStrct=
31  * ctorStrct=
32  * clss    = Scrollbar
33  * interf  = 
34  * class Code: No
35  * interface Code: No
36  * template for:
37  * extend  = 
38  * implements:
39  * prefixes:
40  * 	- gtk_scrollbar_
41  * 	- gtk_
42  * omit structs:
43  * omit prefixes:
44  * omit code:
45  * omit signals:
46  * imports:
47  * structWrap:
48  * module aliases:
49  * local aliases:
50  * overrides:
51  */
52 
53 module gtk.Scrollbar;
54 
55 public  import gtkc.gtktypes;
56 
57 private import gtkc.gtk;
58 private import glib.ConstructionException;
59 private import gobject.ObjectG;
60 
61 
62 
63 
64 
65 private import gtk.Range;
66 
67 /**
68  * Description
69  * The GtkScrollbar widget is an abstract base class for GtkHScrollbar and
70  * GtkVScrollbar. It is not very useful in itself.
71  * The position of the thumb in a scrollbar is controlled by the scroll
72  * adjustments. See GtkAdjustment for the fields in an adjustment - for
73  * GtkScrollbar, the "value" field represents the position of the
74  * scrollbar, which must be between the "lower" field and "upper -
75  * page_size." The "page_size" field represents the size of the visible
76  * scrollable area. The "step_increment" and "page_increment" fields are
77  * used when the user asks to step down (using the small stepper arrows)
78  * or page down (using for example the PageDown key).
79  */
80 public class Scrollbar : Range
81 {
82 	
83 	/** the main Gtk struct */
84 	protected GtkScrollbar* gtkScrollbar;
85 	
86 	
87 	public GtkScrollbar* getScrollbarStruct()
88 	{
89 		return gtkScrollbar;
90 	}
91 	
92 	
93 	/** the main Gtk struct as a void* */
94 	protected override void* getStruct()
95 	{
96 		return cast(void*)gtkScrollbar;
97 	}
98 	
99 	/**
100 	 * Sets our main struct and passes it to the parent class
101 	 */
102 	public this (GtkScrollbar* gtkScrollbar)
103 	{
104 		super(cast(GtkRange*)gtkScrollbar);
105 		this.gtkScrollbar = gtkScrollbar;
106 	}
107 	
108 	protected override void setStruct(GObject* obj)
109 	{
110 		super.setStruct(obj);
111 		gtkScrollbar = cast(GtkScrollbar*)obj;
112 	}
113 	
114 	/**
115 	 */
116 }