2
$Id: gtkinputdialog.pp,v 1.1 2000/07/13 06:34:04 michael Exp $
5
{****************************************************************************
7
****************************************************************************}
9
{$ifdef read_interface}
12
PGtkInputDialog = ^TGtkInputDialog;
13
TGtkInputDialog = record
15
axis_list : PGtkWidget;
16
axis_listbox : PGtkWidget;
17
mode_optionmenu : PGtkWidget;
18
close_button : PGtkWidget;
19
save_button : PGtkWidget;
20
axis_items : array[0..ord(GDK_AXIS_LAST)-1] of PGtkWidget;
21
current_device : guint32;
22
keys_list : PGtkWidget;
23
keys_listbox : PGtkWidget;
26
PGtkInputDialogClass = ^TGtkInputDialogClass;
27
TGtkInputDialogClass = record
28
parent_class : TGtkWindowClass;
29
enable_device : procedure (inputd:PGtkInputDialog; devid:guint32);cdecl;
30
disable_device : procedure (inputd:PGtkInputDialog; devid:guint32);cdecl;
34
GTK_INPUT_DIALOG=PGtkInputDialog;
35
GTK_INPUT_DIALOG_CLASS=PGtkInputDialogClass;
37
function GTK_INPUT_DIALOG_TYPE:TGtkType;cdecl;external gtkdll name 'gtk_input_dialog_get_type';
38
function GTK_IS_INPUT_DIALOG(obj:pointer):boolean;
39
function GTK_IS_INPUT_DIALOG_CLASS(klass:pointer):boolean;
41
function gtk_input_dialog_get_type:TGtkType;cdecl;external gtkdll name 'gtk_input_dialog_get_type';
42
function gtk_input_dialog_new:PGtkWidget;cdecl;external gtkdll name 'gtk_input_dialog_new';
44
{$endif read_interface}
47
{****************************************************************************
49
****************************************************************************}
51
{$ifdef read_implementation}
53
function GTK_IS_INPUT_DIALOG(obj:pointer):boolean;
55
GTK_IS_INPUT_DIALOG:=(obj<>nil) and GTK_IS_INPUT_DIALOG_CLASS(PGtkTypeObject(obj)^.klass);
58
function GTK_IS_INPUT_DIALOG_CLASS(klass:pointer):boolean;
60
GTK_IS_INPUT_DIALOG_CLASS:=(klass<>nil) and (PGtkTypeClass(klass)^.thetype=GTK_INPUT_DIALOG_TYPE);
63
{$endif read_implementation}
67
$Log: gtkinputdialog.pp,v $
68
Revision 1.1 2000/07/13 06:34:04 michael
71
Revision 1.1 1999/11/24 23:36:36 peter
72
* moved to packages dir
74
Revision 1.9 1999/10/06 17:42:49 peter
75
* external is now only in the interface
76
* removed gtk 1.0 support
78
Revision 1.8 1999/07/23 16:12:32 peter
81
Revision 1.7 1999/05/11 00:38:47 peter
84
Revision 1.6 1999/05/10 15:19:38 peter
87
Revision 1.5 1999/05/10 09:03:17 peter
88
* gtk 1.2 port working
90
Revision 1.4 1998/11/09 10:10:04 peter
91
+ C type casts are now correctly handled
93
Revision 1.3 1998/10/21 20:22:42 peter
94
* cdecl, packrecord fixes (from the gtk.tar.gz)
96
* gtk.pp,gdk.pp for an all in one unit