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

CGTKNativeDialog.h
1 /*
2 * CGTKNativeDialog.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2017 - 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, 2017. 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/CGTKBase.h"
33
34 @interface CGTKNativeDialog : CGTKBase
35 {
36
37 }
38
39
44 -(GtkNativeDialog*)NATIVEDIALOG;
45
50 -(void)destroy;
51
57 -(BOOL)getModal;
58
64 -(const char*)getTitle;
65
71 -(GtkWindow*)getTransientFor;
72
78 -(BOOL)getVisible;
79
84 -(void)hide;
85
91 -(gint)run;
92
98 -(void)setModal:(BOOL) modal;
99
105 -(void)setTitle:(const char*) title;
106
112 -(void)setTransientFor:(GtkWindow*) parent;
113
118 -(void)show;
119
120 @end
CGTKBase
Definition: CGTKBase.h:43
-[CGTKNativeDialog show]
void show()
Definition: CGTKNativeDialog.m:91
-[CGTKNativeDialog getModal]
BOOL getModal()
Definition: CGTKNativeDialog.m:46
-[CGTKNativeDialog getTitle]
const char * getTitle()
Definition: CGTKNativeDialog.m:51
-[CGTKNativeDialog getTransientFor]
GtkWindow * getTransientFor()
Definition: CGTKNativeDialog.m:56
-[CGTKNativeDialog destroy]
void destroy()
Definition: CGTKNativeDialog.m:41
-[CGTKNativeDialog run]
gint run()
Definition: CGTKNativeDialog.m:71
CGTKNativeDialog
Definition: CGTKNativeDialog.h:34
-[CGTKNativeDialog hide]
void hide()
Definition: CGTKNativeDialog.m:66
-[CGTKNativeDialog getVisible]
BOOL getVisible()
Definition: CGTKNativeDialog.m:61
-[CGTKNativeDialog NATIVEDIALOG]
GtkNativeDialog * NATIVEDIALOG()
Definition: CGTKNativeDialog.m:36