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