2 * This file is part of gtkD.
4 * gtkD 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 * gtkD 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 gtkD; 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 = GtkVRuler.html
56 import tango
.io
.Stdout
; // use the tango loging?
60 private import gtkc
.gtktypes
;
62 private import gtkc
.gtk
;
72 * This widget is considered too specialized/little-used for
73 * GTK+, and will in the future be moved to some other package. If
74 * your application needs this widget, feel free to use it, as the
75 * widget does work and is useful in some applications; it's just not
76 * of general interest. However, we are not accepting new features for
77 * the widget, and it will eventually move out of the GTK+
79 * The VRuler widget is a widget arranged vertically creating a ruler that is
80 * utilized around other widgets such as a text widget. The ruler is used to show
81 * the location of the mouse on the window and to show the size of the window in
82 * specified units. The available units of measurement are GTK_PIXELS, GTK_INCHES
83 * and GTK_CENTIMETERS. GTK_PIXELS is the default.
86 private import gtk
.Ruler
;
87 public class VRuler
: Ruler
90 /** the main Gtk struct */
91 protected GtkVRuler
* gtkVRuler
;
94 public GtkVRuler
* getVRulerStruct()
100 /** the main Gtk struct as a void* */
101 protected void* getStruct()
103 return cast(void*)gtkVRuler
;
107 * Sets our main struct and passes it to the parent class
109 public this (GtkVRuler
* gtkVRuler
)
113 if ( gtkVRuler
is null )
118 Stdout("struct gtkVRuler is null on constructor").newline
;
122 printf("struct gtkVRuler is null on constructor");
129 assert(gtkVRuler
!is null, "struct gtkVRuler is null on constructor");
131 super(cast(GtkRuler
*)gtkVRuler
);
132 this.gtkVRuler
= gtkVRuler
;
140 * Creates a new vertical ruler
146 // GtkWidget* gtk_vruler_new (void);
147 this(cast(GtkVRuler
*)gtk_vruler_new() );