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 -> getToolBarStyle
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  * The GtkToolShell interface allows container widgets to provide additional
72  * information when embedding GtkToolItem widgets.
73  */
74 public interface ToolShellIF
75 {
76 	
77 	
78 	public GtkToolShell* getToolShellTStruct();
79 	
80 	/** the main Gtk struct as a void* */
81 	protected void* getStruct();
82 	
83 	
84 	/**
85 	 * Retrieves the current orientation for the tool shell. Tool items must not
86 	 * call this function directly, but rely on gtk_tool_item_get_orientation()
87 	 * instead.
88 	 * Since 2.14
89 	 * Returns: the current orientation of shell
90 	 */
91 	public GtkOrientation getOrientation();
92 	
93 	/**
94 	 */
95 	
96 	/**
97 	 * Retrieves the current ellipsize mode for the tool shell. Tool items must not
98 	 * call this function directly, but rely on gtk_tool_item_get_ellipsize_mode()
99 	 * instead.
100 	 * Since 2.20
101 	 * Returns: the current ellipsize mode of shell
102 	 */
103 	public PangoEllipsizeMode getEllipsizeMode();
104 	
105 	/**
106 	 * Retrieves the icon size for the tool shell. Tool items must not call this
107 	 * function directly, but rely on gtk_tool_item_get_icon_size() instead.
108 	 * Since 2.14
109 	 * Returns: the current size for icons of shell. [type int]
110 	 */
111 	public GtkIconSize getIconSize();
112 	
113 	/**
114 	 * Returns the relief style of buttons on shell. Tool items must not call this
115 	 * function directly, but rely on gtk_tool_item_get_relief_style() instead.
116 	 * Since 2.14
117 	 * Returns: The relief style of buttons on shell.
118 	 */
119 	public GtkReliefStyle getReliefStyle();
120 	
121 	/**
122 	 * Retrieves whether the tool shell has text, icons, or both. Tool items must
123 	 * not call this function directly, but rely on gtk_tool_item_get_toolbar_style()
124 	 * instead.
125 	 * Since 2.14
126 	 * Returns: the current style of shell
127 	 */
128 	public GtkToolbarStyle getToolBarStyle();
129 	
130 	/**
131 	 * Retrieves the current text alignment for the tool shell. Tool items must not
132 	 * call this function directly, but rely on gtk_tool_item_get_text_alignment()
133 	 * instead.
134 	 * Since 2.20
135 	 * Returns: the current text alignment of shell
136 	 */
137 	public float getTextAlignment();
138 	
139 	/**
140 	 * Retrieves the current text orientation for the tool shell. Tool items must not
141 	 * call this function directly, but rely on gtk_tool_item_get_text_orientation()
142 	 * instead.
143 	 * Since 2.20
144 	 * Returns: the current text orientation of shell
145 	 */
146 	public GtkOrientation getTextOrientation();
147 	
148 	/**
149 	 * Calling this function signals the tool shell that the overflow menu item for
150 	 * tool items have changed. If there is an overflow menu and if it is visible
151 	 * when this function it called, the menu will be rebuilt.
152 	 * Tool items must not call this function directly, but rely on
153 	 * gtk_tool_item_rebuild_menu() instead.
154 	 * Since 2.14
155 	 */
156 	public void rebuildMenu();
157 	
158 	/**
159 	 * Retrieves the current text size group for the tool shell. Tool items must not
160 	 * call this function directly, but rely on gtk_tool_item_get_text_size_group()
161 	 * instead.
162 	 * Since 2.20
163 	 * Returns: the current text size group of shell. [transfer none]
164 	 */
165 	public SizeGroup getTextSizeGroup();
166 }