I've no idea here...
[gtkD.git] / src / gtk / HScrollbar.d
blob8a30131bd5a05871e2ba54aedfdc9ad6effdcef6
1 /*
2 * This file is part of duit.
4 * duit is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * duit is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with duit; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // generated automatically - do not change
20 // find conversion definition on APILookup.txt
21 // implement new conversion functionalities on the wrap.utils pakage
24 * Conversion parameters:
25 * inFile = GtkHScrollbar.html
26 * outPack = gtk
27 * outFile = HScrollbar
28 * strct = GtkHScrollbar
29 * realStrct=
30 * ctorStrct=
31 * clss = HScrollbar
32 * interf =
33 * class Code: No
34 * interface Code: No
35 * template for:
36 * extend =
37 * implements:
38 * prefixes:
39 * - gtk_hscrollbar_
40 * - gtk_
41 * omit structs:
42 * omit prefixes:
43 * omit code:
44 * imports:
45 * - gtk.Adjustment
46 * structWrap:
47 * - GtkAdjustment* -> Adjustment
48 * local aliases:
51 module gtk.HScrollbar;
53 private import gtk.gtktypes;
55 private import lib.gtk;
57 private import gtk.Adjustment;
59 /**
60 * Description
61 * The GtkHScrollbar widget is a widget arranged horizontally creating a
62 * scrollbar. See GtkScrollbar for details on
63 * scrollbars. GtkAdjustment pointers may be added to handle the
64 * adjustment of the scrollbar or it may be left NULL in which case one
65 * will be created for you. See GtkAdjustment for details.
67 private import gtk.Scrollbar;
68 public class HScrollbar : Scrollbar
71 /** the main Gtk struct */
72 protected GtkHScrollbar* gtkHScrollbar;
75 public GtkHScrollbar* getHScrollbarStruct()
77 return gtkHScrollbar;
81 /** the main Gtk struct as a void* */
82 protected void* getStruct()
84 return cast(void*)gtkHScrollbar;
87 /**
88 * Sets our main struct and passes it to the parent class
90 public this (GtkHScrollbar* gtkHScrollbar)
92 super(cast(GtkScrollbar*)gtkHScrollbar);
93 this.gtkHScrollbar = gtkHScrollbar;
96 /**
101 * Creates a new horizontal scrollbar.
102 * adjustment:
103 * the GtkAdjustment to use, or NULL to create a new adjustment.
104 * Returns:
105 * the new GtkHScrollbar.
106 * See Also
107 * GtkScrollbar, GtkScrolledWindow
109 public this (Adjustment adjustment)
111 // GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
112 this(cast(GtkHScrollbar*)gtk_hscrollbar_new((adjustment is null) ? null : adjustment.getAdjustmentStruct()) );