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 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 public static GType getType() 48 { 49 return atk_window_get_type(); 50 } 51 52 /** 53 * The signal #AtkWindow::activate is emitted when a window 54 * becomes the active window of the application or session. 55 * 56 * Since: 2.2 57 */ 58 gulong addOnActivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 59 60 /** 61 * The signal #AtkWindow::create is emitted when a new window 62 * is created. 63 * 64 * Since: 2.2 65 */ 66 gulong addOnCreate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 67 68 /** 69 * The signal #AtkWindow::deactivate is emitted when a window is 70 * no longer the active window of the application or session. 71 * 72 * Since: 2.2 73 */ 74 gulong addOnDeactivate(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 75 76 /** 77 * The signal #AtkWindow::destroy is emitted when a window is 78 * destroyed. 79 * 80 * Since: 2.2 81 */ 82 gulong addOnDestroy(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 83 84 /** 85 * The signal #AtkWindow::maximize is emitted when a window 86 * is maximized. 87 * 88 * Since: 2.2 89 */ 90 gulong addOnMaximize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 91 92 /** 93 * The signal #AtkWindow::minimize is emitted when a window 94 * is minimized. 95 * 96 * Since: 2.2 97 */ 98 gulong addOnMinimize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 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 * The signal #AtkWindow::resize is emitted when a window 110 * is resized. 111 * 112 * Since: 2.2 113 */ 114 gulong addOnResize(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 115 116 /** 117 * The signal #AtkWindow::restore is emitted when a window 118 * is restored. 119 * 120 * Since: 2.2 121 */ 122 gulong addOnRestore(void delegate(WindowIF) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0); 123 }