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 @property void delegate(WindowIF)[] onActivateListeners(); 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 void addOnActivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 53 54 @property void delegate(WindowIF)[] onCreateListeners(); 55 /** 56 * The signal #AtkWindow::create is emitted when a new window 57 * is created. 58 * 59 * Since: 2.2 60 */ 61 void addOnCreate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 62 63 @property void delegate(WindowIF)[] onDeactivateListeners(); 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 void addOnDeactivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 71 72 @property void delegate(WindowIF)[] onDestroyListeners(); 73 /** 74 * The signal #AtkWindow::destroy is emitted when a window is 75 * destroyed. 76 * 77 * Since: 2.2 78 */ 79 void addOnDestroy(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 80 81 @property void delegate(WindowIF)[] onMaximizeListeners(); 82 /** 83 * The signal #AtkWindow::maximize is emitted when a window 84 * is maximized. 85 * 86 * Since: 2.2 87 */ 88 void addOnMaximize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 89 90 @property void delegate(WindowIF)[] onMinimizeListeners(); 91 /** 92 * The signal #AtkWindow::minimize is emitted when a window 93 * is minimized. 94 * 95 * Since: 2.2 96 */ 97 void addOnMinimize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 98 99 @property void delegate(WindowIF)[] onMoveListeners(); 100 /** 101 * The signal #AtkWindow::move is emitted when a window 102 * is moved. 103 * 104 * Since: 2.2 105 */ 106 void addOnMove(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 107 108 @property void delegate(WindowIF)[] onResizeListeners(); 109 /** 110 * The signal #AtkWindow::resize is emitted when a window 111 * is resized. 112 * 113 * Since: 2.2 114 */ 115 void addOnResize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 116 117 @property void delegate(WindowIF)[] onRestoreListeners(); 118 /** 119 * The signal #AtkWindow::restore is emitted when a window 120 * is restored. 121 * 122 * Since: 2.2 123 */ 124 void addOnRestore(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 125 126 }