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 private import std.algorithm;
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(bool transferOwnership = false);
41 
42 	/** the main Gtk struct as a void* */
43 	protected void* getStruct();
44 
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 	 * The signal #AtkWindow::create is emitted when a new window
56 	 * is created.
57 	 *
58 	 * Since: 2.2
59 	 */
60 	gulong addOnCreate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
61 
62 	/**
63 	 * The signal #AtkWindow::deactivate is emitted when a window is
64 	 * no longer the active window of the application or session.
65 	 *
66 	 * Since: 2.2
67 	 */
68 	gulong addOnDeactivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
69 
70 	/**
71 	 * The signal #AtkWindow::destroy is emitted when a window is
72 	 * destroyed.
73 	 *
74 	 * Since: 2.2
75 	 */
76 	gulong addOnDestroy(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
77 
78 	/**
79 	 * The signal #AtkWindow::maximize is emitted when a window
80 	 * is maximized.
81 	 *
82 	 * Since: 2.2
83 	 */
84 	gulong addOnMaximize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
85 
86 	/**
87 	 * The signal #AtkWindow::minimize is emitted when a window
88 	 * is minimized.
89 	 *
90 	 * Since: 2.2
91 	 */
92 	gulong addOnMinimize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
93 
94 	/**
95 	 * The signal #AtkWindow::move is emitted when a window
96 	 * is moved.
97 	 *
98 	 * Since: 2.2
99 	 */
100 	gulong addOnMove(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
101 
102 	/**
103 	 * The signal #AtkWindow::resize is emitted when a window
104 	 * is resized.
105 	 *
106 	 * Since: 2.2
107 	 */
108 	gulong addOnResize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
109 
110 	/**
111 	 * The signal #AtkWindow::restore is emitted when a window
112 	 * is restored.
113 	 *
114 	 * Since: 2.2
115 	 */
116 	gulong addOnRestore(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
117 }