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 module gtk.BuilderScopeT;
26 
27 public  import gtk.c.functions;
28 public  import gtk.c.types;
29 
30 
31 /**
32  * `GtkBuilderScope` is an interface to provide language binding support
33  * to `GtkBuilder`.
34  * 
35  * The goal of `GtkBuilderScope` is to look up programming-language-specific
36  * values for strings that are given in a `GtkBuilder` UI file.
37  * 
38  * The primary intended audience is bindings that want to provide deeper
39  * integration of `GtkBuilder` into the language.
40  * 
41  * A `GtkBuilderScope` instance may be used with multiple `GtkBuilder` objects,
42  * even at once.
43  * 
44  * By default, GTK will use its own implementation of `GtkBuilderScope`
45  * for the C language which can be created via [ctor@Gtk.BuilderCScope.new].
46  */
47 public template BuilderScopeT(TStruct)
48 {
49 	/** Get the main Gtk struct */
50 	public GtkBuilderScope* getBuilderScopeStruct(bool transferOwnership = false)
51 	{
52 		if (transferOwnership)
53 			ownedRef = false;
54 		return cast(GtkBuilderScope*)getStruct();
55 	}
56 
57 }