CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKWindow.h
1 /*
2  * CGTKWindow.h
3  * This file is part of CoreGTK
4  *
5  * Copyright (C) 2014 - Tyler Burton
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 /*
23  * Modified by the CoreGTK Team, 2014. See the AUTHORS file for a
24  * list of people on the CoreGTK Team.
25  * See the ChangeLog files for a list of changes.
26  *
27  */
28 
29 /*
30  * Objective-C imports
31  */
32 #import "CGTKBin.h"
33 
34 @interface CGTKWindow : CGTKBin
35 {
36 
37 }
38 
39 -(GtkWindow *)WINDOW;
40 
41 +(CGTKWindow *)windowWithGtkWindow:(GtkWindow *)window;
42 
43 -(id)initWithGtkWindowType:(GtkWindowType)type;
44 
45 -(NSString *)getTitle;
46 
47 -(void)setTitle:(NSString *)title;
48 
49 -(void)setWmclassWithWmclassName:(NSString *)wmclassName andWmclassClass:(NSString *)wmclassClass;
50 
51 -(NSString *)getRole;
52 
53 -(void)setRole:(NSString *)role;
54 
55 -(void)setStartupId:(NSString *)startupId;
56 
57 -(void)addAccelGroup:(GtkAccelGroup *)accelGroup;
58 
59 -(void)removeAccelGroup:(GtkAccelGroup *)accelGroup;
60 
61 -(void)setPosition:(GtkWindowPosition)position;
62 
63 -(BOOL)activateFocus;
64 
65 -(void)setFocus:(CGTKWidget *)focus;
66 
67 -(CGTKWidget *)getFocus;
68 
69 -(void)setDefault:(CGTKWidget *)defaultWidget;
70 
71 -(CGTKWidget *)getDefaultWidget;
72 
73 -(BOOL)activateDefault;
74 
75 -(void)setTransientFor:(CGTKWindow *)parent;
76 
77 -(CGTKWindow *)getTransientFor;
78 
79 -(void)setOpacity:(NSNumber *)opacity;
80 
81 -(NSNumber *)getOpacity;
82 
83 -(void)setTypeHint:(GdkWindowTypeHint)hint;
84 
85 -(GdkWindowTypeHint)getTypeHint;
86 
87 -(void)setSkipTaskbarHint:(BOOL)setting;
88 
89 -(BOOL)getSkipTaskbarHint;
90 
91 -(void)setSkipPagerHint:(BOOL)setting;
92 
93 -(BOOL)getSkipPagerHint;
94 
95 -(void)setUrgencyHint:(BOOL)setting;
96 
97 -(BOOL)getUrgencyHint;
98 
99 -(void)setAcceptFocus:(BOOL)setting;
100 
101 -(BOOL)getAcceptFocus;
102 
103 -(void)setFocusOnMap:(BOOL)setting;
104 
105 -(BOOL)getFocusOnMap;
106 
107 -(void)setDestroyWithParent:(BOOL)setting;
108 
109 -(BOOL)getDestroyWithParent;
110 
111 -(void)setMnemonicsVisible:(BOOL)setting;
112 
113 -(BOOL)getMnemonicsVisible;
114 
115 -(void)setResizable:(BOOL)resizable;
116 
117 -(BOOL)getResizable;
118 
119 -(void)setGravity:(GdkGravity)gravity;
120 
121 -(GdkGravity)getGravity;
122 
123 -(void)setGeometryHintsWithGeometryWidget:(CGTKWidget *)geometryWidget andGeometry:(GdkGeometry *)geometry andGeomMask:(GdkWindowHints)geomMask;
124 
125 -(void)setScreen:(GdkScreen *)screen;
126 
127 -(GdkScreen *)getScreen;
128 
129 -(BOOL)isActive;
130 
131 -(BOOL)hasToplevelFocus;
132 
133 -(void)setHasFrame:(BOOL)setting;
134 
135 -(BOOL)getHasFrame;
136 
137 -(void)setFrameDimensionsWithLeft:(NSNumber *)left andTop:(NSNumber *)top andRight:(NSNumber *)right andBottom:(NSNumber *)bottom;
138 
139 -(void)getFrameDimensionsWithLeft:(NSNumber **)left andTop:(NSNumber **)top andRight:(NSNumber **)right andBottom:(NSNumber **)bottom;
140 
141 -(void)setDecorated:(BOOL)setting;
142 
143 -(BOOL)getDecorated;
144 
145 -(void)setDeletable:(BOOL)setting;
146 
147 -(BOOL)getDeletable;
148 
149 -(void)setIconList:(GList *)list;
150 
151 -(GList *)getIconList;
152 
153 -(void)setIcon:(GdkPixbuf *)icon;
154 
155 -(NSString *)getIconName;
156 
157 -(void)setIconName:(NSString *)name;
158 
159 -(BOOL)setIconFromFileWithFilename:(NSString *)filename andErr:(GError **)err;
160 
161 -(GdkPixbuf *)getIcon;
162 
163 -(void)setDefaultIconList:(GList *)list;
164 
165 -(GList *)getDefaultIconList;
166 
167 -(void)setDefaultIcon:(GdkPixbuf *)icon;
168 
169 -(NSString *)getDefaultIconName;
170 
171 -(void)setDefaultIconName:(NSString *)name;
172 
173 -(BOOL)setDefaultIconFromFileWithFilename:(NSString *)filename andErr:(GError **)err;
174 
175 -(void)setAutoStartupNotification:(BOOL)setting;
176 
177 -(void)setModal:(BOOL)modal;
178 
179 -(BOOL)getModal;
180 
181 -(GList *)listToplevels;
182 
183 -(void)addMnemonicWithKeyval:(NSNumber *)keyval andTarget:(CGTKWidget *)target;
184 
185 -(void)removeMnemonicWithKeyval:(NSNumber *)keyval andTarget:(CGTKWidget *)target;
186 
187 -(BOOL)mnemonicActivateWithKeyval:(NSNumber *)keyval andModifier:(GdkModifierType)modifier;
188 
189 -(void)setMnemonicModifier:(GdkModifierType)modifier;
190 
191 -(GdkModifierType)getMnemonicModifier;
192 
193 -(BOOL)activateKey:(GdkEventKey *)event;
194 
195 -(BOOL)propagateKeyEvent:(GdkEventKey *)event;
196 
197 -(void)present;
198 
199 -(void)presentWithTime:(NSNumber *)timestamp;
200 
201 -(void)iconify;
202 
203 -(void)deiconify;
204 
205 -(void)stick;
206 
207 -(void)unstick;
208 
209 -(void)maximize;
210 
211 -(void)unmaximize;
212 
213 -(void)fullscreen;
214 
215 -(void)unfullscreen;
216 
217 -(void)setKeepAbove:(BOOL)setting;
218 
219 -(void)setKeepBelow:(BOOL)setting;
220 
221 -(void)beginResizeDragWithEdge:(GdkWindowEdge)edge andButton:(NSNumber *)button andRootX:(NSNumber *)rootX andRootY:(NSNumber *)rootY andTimestamp:(NSNumber *)timestamp;
222 
223 -(void)beginMoveDragWithButton:(NSNumber *)button andRootX:(NSNumber *)rootX andRootY:(NSNumber *)rootY andTimestamp:(NSNumber *)timestamp;
224 
225 -(void)setDefaultSizeWithWidth:(NSNumber *)width andHeight:(NSNumber *)height;
226 
227 -(void)getDefaultSizeWithWidth:(NSNumber **)width andHeight:(NSNumber **)height;
228 
229 -(void)resizeWithWidth:(NSNumber *)width andHeight:(NSNumber *)height;
230 
231 -(void)getSizeWithWidth:(NSNumber **)width andHeight:(NSNumber **)height;
232 
233 -(void)moveWithX:(NSNumber *)x andY:(NSNumber *)y;
234 
235 -(void)getPositionWithRootX:(NSNumber **)rootX andRootY:(NSNumber **)rootY;
236 
237 -(BOOL)parseGeometry:(NSString *)geometry;
238 
239 -(GtkWindowGroup *)getGroup;
240 
241 -(BOOL)hasGroup;
242 
243 -(void)reshowWithInitialSize;
244 
245 -(GtkWindowType)getWindowType;
246 
247 -(GtkWindowGroup *)groupNew;
248 
249 -(void)groupAddWindowWithWindowGroup:(GtkWindowGroup *)windowGroup andWindow:(CGTKWindow *)window;
250 
251 +(void)groupRemoveWindowWithWindowGroup:(GtkWindowGroup *)windowGroup andWindow:(CGTKWindow *)window;
252 
253 +(GList *)groupListWindows:(GtkWindowGroup *)windowGroup;
254 
255 -(void)removeEmbeddedXid:(GdkNativeWindow)xid;
256 
257 -(void)addEmbeddedXid:(GdkNativeWindow)xid;
258 
259 +(CGTKWidget *)groupGetCurrentGrab:(GtkWindowGroup *)windowGroup;
260 
261 @end
Definition: CGTKWindow.h:34
Definition: CGTKBin.h:34
Definition: CGTKWidget.h:50