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 atk.WindowIF;
26 
27 private import gobject.Signals;
28 private import gtkc.atk;
29 public  import gtkc.atktypes;
30 public  import gtkc.gdktypes;
31 private import std.algorithm;
32 
33 
34 /**
35  * #AtkWindow should be implemented by the UI elements that represent
36  * a top-level window, such as the main window of an application or
37  * dialog.
38  */
39 public interface WindowIF{
40 	/** Get the main Gtk struct */
41 	public AtkWindow* getWindowStruct();
42 
43 	/** the main Gtk struct as a void* */
44 	protected void* getStruct();
45 
46 	/**
47 	 * The signal #AtkWindow::activate is emitted when a window
48 	 * becomes the active window of the application or session.
49 	 *
50 	 * Since: 2.2
51 	 */
52 	gulong addOnActivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
53 	;
54 
55 	/**
56 	 * The signal #AtkWindow::create is emitted when a new window
57 	 * is created.
58 	 *
59 	 * Since: 2.2
60 	 */
61 	gulong addOnCreate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
62 	;
63 
64 	/**
65 	 * The signal #AtkWindow::deactivate is emitted when a window is
66 	 * no longer the active window of the application or session.
67 	 *
68 	 * Since: 2.2
69 	 */
70 	gulong addOnDeactivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
71 	;
72 
73 	/**
74 	 * The signal #AtkWindow::destroy is emitted when a window is
75 	 * destroyed.
76 	 *
77 	 * Since: 2.2
78 	 */
79 	gulong addOnDestroy(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
80 	;
81 
82 	/**
83 	 * The signal #AtkWindow::maximize is emitted when a window
84 	 * is maximized.
85 	 *
86 	 * Since: 2.2
87 	 */
88 	gulong addOnMaximize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
89 	;
90 
91 	/**
92 	 * The signal #AtkWindow::minimize is emitted when a window
93 	 * is minimized.
94 	 *
95 	 * Since: 2.2
96 	 */
97 	gulong addOnMinimize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
98 	;
99 
100 	/**
101 	 * The signal #AtkWindow::move is emitted when a window
102 	 * is moved.
103 	 *
104 	 * Since: 2.2
105 	 */
106 	gulong addOnMove(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
107 	;
108 
109 	/**
110 	 * The signal #AtkWindow::resize is emitted when a window
111 	 * is resized.
112 	 *
113 	 * Since: 2.2
114 	 */
115 	gulong addOnResize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
116 	;
117 
118 	/**
119 	 * The signal #AtkWindow::restore is emitted when a window
120 	 * is restored.
121 	 *
122 	 * Since: 2.2
123 	 */
124 	gulong addOnRestore(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
125 	;
126 
127 }