blob: 8cc8db480958d13de1bf38f92f665b4b1f7ecba8 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
// included by gtk2.pas
{$IFDEF read_forward_definitions}
{$ENDIF read_forward_definitions}
//------------------------------------------------------------------------------
{$IFDEF read_interface_types}
PGtkHButtonBox = ^TGtkHButtonBox;
TGtkHButtonBox = record
button_box : TGtkButtonBox;
end;
PGtkHButtonBoxClass = ^TGtkHButtonBoxClass;
TGtkHButtonBoxClass = record
parent_class : TGtkButtonBoxClass;
end;
{$ENDIF read_interface_types}
//------------------------------------------------------------------------------
{$IFDEF read_interface_rest}
function GTK_TYPE_HBUTTON_BOX : GType;
function GTK_HBUTTON_BOX(obj: pointer) : PGtkHButtonBox;
function GTK_HBUTTON_BOX_CLASS(klass: pointer) : PGtkHButtonBoxClass;
function GTK_IS_HBUTTON_BOX(obj: pointer) : boolean;
function GTK_IS_HBUTTON_BOX_CLASS(klass: pointer) : boolean;
function GTK_HBUTTON_BOX_GET_CLASS(obj: pointer) : PGtkHButtonBoxClass;
function gtk_hbutton_box_get_type:TGtkType; cdecl; external gtklib;
function gtk_hbutton_box_new:PGtkWidget; cdecl; external gtklib;
{ buttons can be added by gtk_container_add() }
{$ifndef GTK_DISABLE_DEPRECATED}
function gtk_hbutton_box_get_spacing_default:gint; cdecl; external gtklib;
function gtk_hbutton_box_get_layout_default:TGtkButtonBoxStyle; cdecl; external gtklib;
procedure gtk_hbutton_box_set_spacing_default(spacing:gint); cdecl; external gtklib;
procedure gtk_hbutton_box_set_layout_default(layout:TGtkButtonBoxStyle); cdecl; external gtklib;
{$endif}
{$ENDIF read_interface_rest}
//------------------------------------------------------------------------------
{$IFDEF read_implementation}
function GTK_TYPE_HBUTTON_BOX : GType;
begin
GTK_TYPE_HBUTTON_BOX:=gtk_hbutton_box_get_type;
end;
function GTK_HBUTTON_BOX(obj: pointer) : PGtkHButtonBox;
begin
GTK_HBUTTON_BOX:=PGtkHButtonBox(GTK_CHECK_CAST(obj,GTK_TYPE_HBUTTON_BOX));
end;
function GTK_HBUTTON_BOX_CLASS(klass: pointer) : PGtkHButtonBoxClass;
begin
GTK_HBUTTON_BOX_CLASS:=PGtkHButtonBoxClass(GTK_CHECK_CLASS_CAST(klass,GTK_TYPE_HBUTTON_BOX));
end;
function GTK_IS_HBUTTON_BOX(obj: pointer) : boolean;
begin
GTK_IS_HBUTTON_BOX:=GTK_CHECK_TYPE(obj,GTK_TYPE_HBUTTON_BOX);
end;
function GTK_IS_HBUTTON_BOX_CLASS(klass: pointer) : boolean;
begin
GTK_IS_HBUTTON_BOX_CLASS:=GTK_CHECK_CLASS_TYPE(klass,GTK_TYPE_HBUTTON_BOX);
end;
function GTK_HBUTTON_BOX_GET_CLASS(obj: pointer) : PGtkHButtonBoxClass;
begin
GTK_HBUTTON_BOX_GET_CLASS:=PGtkHButtonBoxClass(GTK_CHECK_GET_CLASS(obj,GTK_TYPE_HBUTTON_BOX));
end;
{$ENDIF read_implementation}
// included by gtk2.pas
|