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  = GtkToolShell.html
27  * outPack = gtk
28  * outFile = ToolShellIF
29  * strct   = GtkToolShell
30  * realStrct=
31  * ctorStrct=
32  * clss    = ToolShellT
33  * interf  = ToolShellIF
34  * class Code: No
35  * interface Code: Yes
36  * template for:
37  * extend  = 
38  * implements:
39  * prefixes:
40  * 	- gtk_tool_shell_
41  * omit structs:
42  * omit prefixes:
43  * omit code:
44  * 	- gtk_tool_shell_get_orientation
45  * omit signals:
46  * imports:
47  * 	- gtk.SizeGroup
48  * structWrap:
49  * 	- GtkSizeGroup* -> SizeGroup
50  * module aliases:
51  * local aliases:
52  * 	- getStyle -> toolShellGetStyle
53  * overrides:
54  */
55 
56 module gtk.ToolShellIF;
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.SizeGroup;
66 
67 
68 
69 
70 /**
71  * Description
72  * The GtkToolShell interface allows container widgets to provide additional
73  * information when embedding GtkToolItem widgets.
74  * see_also: GtkToolbar, GtkToolItem
75  */
76 public interface ToolShellIF
77 {
78 	
79 	
80 	public GtkToolShell* getToolShellTStruct();
81 	
82 	/** the main Gtk struct as a void* */
83 	protected void* getStruct();
84 	
85 	
86 	/**
87 	 * Retrieves the current orientation for the tool shell. Tool items must not
88 	 * call this function directly, but rely on gtk_tool_item_get_orientation()
89 	 * instead.
90 	 * Since 2.14
91 	 * Returns: the current orientation of shell
92 	 */
93 	public GtkOrientation getOrientation();
94 	
95 	/**
96 	 */
97 	
98 	/**
99 	 * Retrieves the current ellipsize mode for the tool shell. Tool items must not
100 	 * call this function directly, but rely on gtk_tool_item_get_ellipsize_mode()
101 	 * instead.
102 	 * Since 2.20
103 	 * Returns: the current ellipsize mode of shell
104 	 */
105 	public PangoEllipsizeMode getEllipsizeMode();
106 	
107 	/**
108 	 * Retrieves the icon size for the tool shell. Tool items must not call this
109 	 * function directly, but rely on gtk_tool_item_get_icon_size() instead.
110 	 * Since 2.14
111 	 * Returns: the current size for icons of shell. [type int]
112 	 */
113 	public GtkIconSize getIconSize();
114 	
115 	/**
116 	 * Returns the relief style of buttons on shell. Tool items must not call this
117 	 * function directly, but rely on gtk_tool_item_get_relief_style() instead.
118 	 * Since 2.14
119 	 * Returns: The relief style of buttons on shell.
120 	 */
121 	public GtkReliefStyle getReliefStyle();
122 	
123 	/**
124 	 * Retrieves whether the tool shell has text, icons, or both. Tool items must
125 	 * not call this function directly, but rely on gtk_tool_item_get_style()
126 	 * instead.
127 	 * Since 2.14
128 	 * Returns: the current style of shell
129 	 */
130 	public GtkToolbarStyle toolShellGetStyle();
131 	
132 	/**
133 	 * Retrieves the current text alignment for the tool shell. Tool items must not
134 	 * call this function directly, but rely on gtk_tool_item_get_text_alignment()
135 	 * instead.
136 	 * Since 2.20
137 	 * Returns: the current text alignment of shell
138 	 */
139 	public float getTextAlignment();
140 	
141 	/**
142 	 * Retrieves the current text orientation for the tool shell. Tool items must not
143 	 * call this function directly, but rely on gtk_tool_item_get_text_orientation()
144 	 * instead.
145 	 * Since 2.20
146 	 * Returns: the current text orientation of shell
147 	 */
148 	public GtkOrientation getTextOrientation();
149 	
150 	/**
151 	 * Calling this function signals the tool shell that the overflow menu item for
152 	 * tool items have changed. If there is an overflow menu and if it is visible
153 	 * when this function it called, the menu will be rebuilt.
154 	 * Tool items must not call this function directly, but rely on
155 	 * gtk_tool_item_rebuild_menu() instead.
156 	 * Since 2.14
157 	 */
158 	public void rebuildMenu();
159 	
160 	/**
161 	 * Retrieves the current text size group for the tool shell. Tool items must not
162 	 * call this function directly, but rely on gtk_tool_item_get_text_size_group()
163 	 * instead.
164 	 * Since 2.20
165 	 * Returns: the current text size group of shell. [transfer none]
166 	 */
167 	public SizeGroup getTextSizeGroup();
168 }