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 atk.c.functions;
28 public  import atk.c.types;
29 private import gobject.Signals;
30 public  import gtkc.atktypes;
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(bool transferOwnership = false);
42 
43 	/** the main Gtk struct as a void* */
44 	protected void* getStruct();
45 
46 
47 	/** */
48 	public static GType getType()
49 	{
50 		return atk_window_get_type();
51 	}
52 
53 	/**
54 	 * The signal #AtkWindow::activate is emitted when a window
55 	 * becomes the active window of the application or session.
56 	 *
57 	 * Since: 2.2
58 	 */
59 	gulong addOnActivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
60 
61 	/**
62 	 * The signal #AtkWindow::create is emitted when a new window
63 	 * is created.
64 	 *
65 	 * Since: 2.2
66 	 */
67 	gulong addOnCreate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
68 
69 	/**
70 	 * The signal #AtkWindow::deactivate is emitted when a window is
71 	 * no longer the active window of the application or session.
72 	 *
73 	 * Since: 2.2
74 	 */
75 	gulong addOnDeactivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
76 
77 	/**
78 	 * The signal #AtkWindow::destroy is emitted when a window is
79 	 * destroyed.
80 	 *
81 	 * Since: 2.2
82 	 */
83 	gulong addOnDestroy(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
84 
85 	/**
86 	 * The signal #AtkWindow::maximize is emitted when a window
87 	 * is maximized.
88 	 *
89 	 * Since: 2.2
90 	 */
91 	gulong addOnMaximize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
92 
93 	/**
94 	 * The signal #AtkWindow::minimize is emitted when a window
95 	 * is minimized.
96 	 *
97 	 * Since: 2.2
98 	 */
99 	gulong addOnMinimize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
100 
101 	/**
102 	 * The signal #AtkWindow::move is emitted when a window
103 	 * is moved.
104 	 *
105 	 * Since: 2.2
106 	 */
107 	gulong addOnMove(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
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 	 * The signal #AtkWindow::restore is emitted when a window
119 	 * is restored.
120 	 *
121 	 * Since: 2.2
122 	 */
123 	gulong addOnRestore(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0);
124 }