blob: b206f15102fc2ff5353c4d512240b345cd058a09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
}
{****************************************************************************
Interface
****************************************************************************}
{$ifdef read_interface}
type
PGtkVSeparator = ^TGtkVSeparator;
TGtkVSeparator = record
separator : TGtkSeparator;
end;
PGtkVSeparatorClass = ^TGtkVSeparatorClass;
TGtkVSeparatorClass = record
parent_class : TGtkSeparatorClass;
end;
Type
GTK_VSEPARATOR=PGtkVSeparator;
GTK_VSEPARATOR_CLASS=PGtkVSeparatorClass;
function GTK_VSEPARATOR_TYPE:TGtkType;cdecl;external gtkdll name 'gtk_vseparator_get_type';
function GTK_IS_VSEPARATOR(obj:pointer):boolean;
function GTK_IS_VSEPARATOR_CLASS(klass:pointer):boolean;
function gtk_vseparator_get_type:TGtkType;cdecl;external gtkdll name 'gtk_vseparator_get_type';
function gtk_vseparator_new:PGtkWidget;cdecl;external gtkdll name 'gtk_vseparator_new';
{$endif read_interface}
{****************************************************************************
Implementation
****************************************************************************}
{$ifdef read_implementation}
function GTK_IS_VSEPARATOR(obj:pointer):boolean;
begin
GTK_IS_VSEPARATOR:=(obj<>nil) and GTK_IS_VSEPARATOR_CLASS(PGtkTypeObject(obj)^.klass);
end;
function GTK_IS_VSEPARATOR_CLASS(klass:pointer):boolean;
begin
GTK_IS_VSEPARATOR_CLASS:=(klass<>nil) and (PGtkTypeClass(klass)^.thetype=GTK_VSEPARATOR_TYPE);
end;
{$endif read_implementation}
|