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 = GtkSeparator.html 27 * outPack = gtk 28 * outFile = Separator 29 * strct = GtkSeparator 30 * realStrct= 31 * ctorStrct= 32 * clss = Separator 33 * interf = 34 * class Code: Yes 35 * interface Code: No 36 * template for: 37 * extend = 38 * implements: 39 * - OrientableIF 40 * prefixes: 41 * - gtk_separator 42 * - gtk_ 43 * omit structs: 44 * omit prefixes: 45 * omit code: 46 * omit signals: 47 * imports: 48 * - gtk.OrientableIF 49 * - gtk.OrientableT 50 * structWrap: 51 * module aliases: 52 * local aliases: 53 * overrides: 54 */ 55 56 module gtk.Separator; 57 58 public import gtkc.gtktypes; 59 60 private import gtkc.gtk; 61 private import glib.ConstructionException; 62 private import gobject.ObjectG; 63 64 65 private import gtk.OrientableIF; 66 private import gtk.OrientableT; 67 68 69 70 private import gtk.Widget; 71 72 /** 73 * Description 74 * The GtkSeparator widget is an abstract class, used only for deriving the 75 * subclasses GtkHSeparator and GtkVSeparator. 76 */ 77 public class Separator : Widget, OrientableIF 78 { 79 80 /** the main Gtk struct */ 81 protected GtkSeparator* gtkSeparator; 82 83 84 public GtkSeparator* getSeparatorStruct() 85 { 86 return gtkSeparator; 87 } 88 89 90 /** the main Gtk struct as a void* */ 91 protected override void* getStruct() 92 { 93 return cast(void*)gtkSeparator; 94 } 95 96 /** 97 * Sets our main struct and passes it to the parent class 98 */ 99 public this (GtkSeparator* gtkSeparator) 100 { 101 super(cast(GtkWidget*)gtkSeparator); 102 this.gtkSeparator = gtkSeparator; 103 } 104 105 protected override void setStruct(GObject* obj) 106 { 107 super.setStruct(obj); 108 gtkSeparator = cast(GtkSeparator*)obj; 109 } 110 111 // add the Orientable capabilities 112 mixin OrientableT!(GtkSeparator); 113 114 /** 115 */ 116 }