CoreGTK 3.10.0 CoreGTK is an Objective-C language binding for the GTK+ widget toolkit

- Main Page
- Classes
- Files

- File List

All Classes Functions Variables
CGTKWindow.h
1 /*
2 * CGTKWindow.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2015 - 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, 2015. 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 "CoreGTK/CGTKBin.h"
33
34 @interface CGTKWindow : CGTKBin
35 {
36
37 }
38
42 +(GList*)getDefaultIconList;
43 +(NSString*)getDefaultIconName;
44 +(GList*)listToplevels;
45 +(void)setAutoStartupNotification:(BOOL) setting;
46 +(void)setDefaultIcon:(GdkPixbuf*) icon;
47 +(BOOL)setDefaultIconFromFileWithFilename:(NSString*) filename andErr:(GError**) err;
48 +(void)setDefaultIconList:(GList*) list;
49 +(void)setDefaultIconName:(NSString*) name;
50
54 -(id)init:(GtkWindowType) type;
55
60 -(GtkWindow*)WINDOW;
61
67 -(BOOL)activateDefault;
68
74 -(BOOL)activateFocus;
75
82 -(BOOL)activateKey:(GdkEventKey*) event;
83
89 -(void)addAccelGroup:(GtkAccelGroup*) accelGroup;
90
97 -(void)addMnemonicWithKeyval:(guint) keyval andTarget:(CGTKWidget*) target;
98
107 -(void)beginMoveDragWithButton:(gint) button andRootX:(gint) rootX andRootY:(gint) rootY andTimestamp:(guint32) timestamp;
108
118 -(void)beginResizeDragWithEdge:(GdkWindowEdge) edge andButton:(gint) button andRootX:(gint) rootX andRootY:(gint) rootY andTimestamp:(guint32) timestamp;
119
124 -(void)close;
125
130 -(void)deiconify;
131
136 -(void)fullscreen;
137
143 -(BOOL)getAcceptFocus;
144
150 -(GtkApplication*)getApplication;
151
157 -(CGTKWidget*)getAttachedTo;
158
164 -(BOOL)getDecorated;
165
172 -(void)getDefaultSizeWithWidth:(gint*) width andHeight:(gint*) height;
173
179 -(CGTKWidget*)getDefaultWidget;
180
186 -(BOOL)getDeletable;
187
193 -(BOOL)getDestroyWithParent;
194
200 -(CGTKWidget*)getFocus;
201
207 -(BOOL)getFocusOnMap;
208
214 -(BOOL)getFocusVisible;
215
221 -(GdkGravity)getGravity;
222
228 -(GtkWindowGroup*)getGroup;
229
235 -(BOOL)getHasResizeGrip;
236
242 -(BOOL)getHideTitlebarWhenMaximized;
243
249 -(GdkPixbuf*)getIcon;
250
256 -(GList*)getIconList;
257
263 -(NSString*)getIconName;
264
270 -(GdkModifierType)getMnemonicModifier;
271
277 -(BOOL)getMnemonicsVisible;
278
284 -(BOOL)getModal;
285
291 -(gdouble)getOpacity;
292
299 -(void)getPositionWithRootX:(gint*) rootX andRootY:(gint*) rootY;
300
306 -(BOOL)getResizable;
307
314 -(BOOL)getResizeGripArea:(GdkRectangle*) rect;
315
321 -(NSString*)getRole;
322
328 -(GdkScreen*)getScreen;
329
336 -(void)getSizeWithWidth:(gint*) width andHeight:(gint*) height;
337
343 -(BOOL)getSkipPagerHint;
344
350 -(BOOL)getSkipTaskbarHint;
351
357 -(NSString*)getTitle;
358
364 -(GtkWindow*)getTransientFor;
365
371 -(GdkWindowTypeHint)getTypeHint;
372
378 -(BOOL)getUrgencyHint;
379
385 -(GtkWindowType)getWindowType;
386
392 -(BOOL)hasGroup;
393
399 -(BOOL)hasToplevelFocus;
400
405 -(void)iconify;
406
412 -(BOOL)isActive;
413
418 -(void)maximize;
419
427 -(BOOL)mnemonicActivateWithKeyval:(guint) keyval andModifier:(GdkModifierType) modifier;
428
435 -(void)moveWithX:(gint) x andY:(gint) y;
436
443 -(BOOL)parseGeometry:(NSString*) geometry;
444
449 -(void)present;
450
456 -(void)presentWithTime:(guint32) timestamp;
457
464 -(BOOL)propagateKeyEvent:(GdkEventKey*) event;
465
471 -(void)removeAccelGroup:(GtkAccelGroup*) accelGroup;
472
479 -(void)removeMnemonicWithKeyval:(guint) keyval andTarget:(CGTKWidget*) target;
480
485 -(void)reshowWithInitialSize;
486
493 -(void)resizeWithWidth:(gint) width andHeight:(gint) height;
494
500 -(BOOL)resizeGripIsVisible;
501
508 -(void)resizeToGeometryWithWidth:(gint) width andHeight:(gint) height;
509
515 -(void)setAcceptFocus:(BOOL) setting;
516
522 -(void)setApplication:(GtkApplication*) application;
523
529 -(void)setAttachedTo:(CGTKWidget*) attachWidget;
530
536 -(void)setDecorated:(BOOL) setting;
537
543 -(void)setDefault:(CGTKWidget*) defaultWidget;
544
551 -(void)setDefaultGeometryWithWidth:(gint) width andHeight:(gint) height;
552
559 -(void)setDefaultSizeWithWidth:(gint) width andHeight:(gint) height;
560
566 -(void)setDeletable:(BOOL) setting;
567
573 -(void)setDestroyWithParent:(BOOL) setting;
574
580 -(void)setFocus:(CGTKWidget*) focus;
581
587 -(void)setFocusOnMap:(BOOL) setting;
588
594 -(void)setFocusVisible:(BOOL) setting;
595
603 -(void)setGeometryHintsWithGeometryWidget:(CGTKWidget*) geometryWidget andGeometry:(GdkGeometry*) geometry andGeomMask:(GdkWindowHints) geomMask;
604
610 -(void)setGravity:(GdkGravity) gravity;
611
617 -(void)setHasResizeGrip:(BOOL) value;
618
624 -(void)setHasUserRefCount:(BOOL) setting;
625
631 -(void)setHideTitlebarWhenMaximized:(BOOL) setting;
632
638 -(void)setIcon:(GdkPixbuf*) icon;
639
647 -(BOOL)setIconFromFileWithFilename:(NSString*) filename andErr:(GError**) err;
648
654 -(void)setIconList:(GList*) list;
655
661 -(void)setIconName:(NSString*) name;
662
668 -(void)setKeepAbove:(BOOL) setting;
669
675 -(void)setKeepBelow:(BOOL) setting;
676
682 -(void)setMnemonicModifier:(GdkModifierType) modifier;
683
689 -(void)setMnemonicsVisible:(BOOL) setting;
690
696 -(void)setModal:(BOOL) modal;
697
703 -(void)setOpacity:(gdouble) opacity;
704
710 -(void)setPosition:(GtkWindowPosition) position;
711
717 -(void)setResizable:(BOOL) resizable;
718
724 -(void)setRole:(NSString*) role;
725
731 -(void)setScreen:(GdkScreen*) screen;
732
738 -(void)setSkipPagerHint:(BOOL) setting;
739
745 -(void)setSkipTaskbarHint:(BOOL) setting;
746
752 -(void)setStartupId:(NSString*) startupId;
753
759 -(void)setTitle:(NSString*) title;
760
766 -(void)setTitlebar:(CGTKWidget*) titlebar;
767
773 -(void)setTransientFor:(GtkWindow*) parent;
774
780 -(void)setTypeHint:(GdkWindowTypeHint) hint;
781
787 -(void)setUrgencyHint:(BOOL) setting;
788
795 -(void)setWmclassWithWmclassName:(NSString*) wmclassName andWmclassClass:(NSString*) wmclassClass;
796
801 -(void)stick;
802
807 -(void)unfullscreen;
808
813 -(void)unmaximize;
814
819 -(void)unstick;
820
821 @end
CGTKWindow
Definition: CGTKWindow.h:34
CGTKBin
Definition: CGTKBin.h:34
CGTKWidget
Definition: CGTKWidget.h:34