blob: 6996f2e438bbc70a08048ec0fb7e21de93eca8b2 (
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
|
{$IFDEF read_forward_definitions}
{$ENDIF read_forward_definitions}
{$IFDEF read_interface_types}
type
PGtkRadioToolButton = ^TGtkRadioToolButton;
TGtkRadioToolButton = record
parent : TGtkToggleToolButton;
end;
{ Padding for future expansion }
PGtkRadioToolButtonClass = ^TGtkRadioToolButtonClass;
TGtkRadioToolButtonClass = record
parent_class : TGtkToggleToolButtonClass;
_gtk_reserved1 : procedure ;cdecl;
_gtk_reserved2 : procedure ;
_gtk_reserved3 : procedure ;
_gtk_reserved4 : procedure ;
end;
{$ENDIF read_interface_types}
{$IFDEF read_interface_rest}
function GTK_TYPE_RADIO_TOOL_BUTTON : GType;
function GTK_RADIO_TOOL_BUTTON(obj : pointer) : PGtkRadioToolButton;
function GTK_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : PGtkRadioToolButtonClass;
function GTK_IS_RADIO_TOOL_BUTTON(obj : pointer) : gboolean;
function GTK_IS_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : gboolean;
function GTK_RADIO_TOOL_BUTTON_GET_CLASS(obj : pointer) : PGtkRadioToolButtonClass;
function gtk_radio_tool_button_get_type:GType;cdecl;external gtklib name 'gtk_radio_tool_button_get_type';
function gtk_radio_tool_button_new(group:PGSList):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new';
function gtk_radio_tool_button_new_from_stock(group:PGSList; stock_id:Pgchar):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_from_stock';
function gtk_radio_tool_button_new_from_widget(group:PGtkRadioToolButton):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_from_widget';
function gtk_radio_tool_button_new_with_stock_from_widget(group:PGtkRadioToolButton; stock_id:Pgchar):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_with_stock_from_widget';
function gtk_radio_tool_button_get_group(button:PGtkRadioToolButton):PGSList;cdecl;external gtklib name 'gtk_radio_tool_button_get_group';
procedure gtk_radio_tool_button_set_group(button:PGtkRadioToolButton; group:PGSList);cdecl;external gtklib name 'gtk_radio_tool_button_set_group';
{$endif read_interface_rest}
{$ifdef read_implementation}
function GTK_TYPE_RADIO_TOOL_BUTTON : GType;
begin
GTK_TYPE_RADIO_TOOL_BUTTON:=gtk_radio_tool_button_get_type;
end;
function GTK_RADIO_TOOL_BUTTON(obj : pointer) : PGtkRadioToolButton;
begin
GTK_RADIO_TOOL_BUTTON:=PGtkRadioToolButton(G_TYPE_CHECK_INSTANCE_CAST(obj,GTK_TYPE_RADIO_TOOL_BUTTON));
end;
function GTK_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : PGtkRadioToolButtonClass;
begin
GTK_RADIO_TOOL_BUTTON_CLASS:=PGtkRadioToolButtonClass(G_TYPE_CHECK_CLASS_CAST(klass,GTK_TYPE_RADIO_TOOL_BUTTON));
end;
function GTK_IS_RADIO_TOOL_BUTTON(obj : pointer) : gboolean;
begin
GTK_IS_RADIO_TOOL_BUTTON:=G_TYPE_CHECK_INSTANCE_TYPE(obj,GTK_TYPE_RADIO_TOOL_BUTTON);
end;
function GTK_IS_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : gboolean;
begin
GTK_IS_RADIO_TOOL_BUTTON_CLASS:=G_TYPE_CHECK_CLASS_TYPE(klass,GTK_TYPE_RADIO_TOOL_BUTTON);
end;
function GTK_RADIO_TOOL_BUTTON_GET_CLASS(obj : pointer) : PGtkRadioToolButtonClass;
begin
GTK_RADIO_TOOL_BUTTON_GET_CLASS:=PGtkRadioToolButtonClass(G_TYPE_INSTANCE_GET_CLASS(obj,GTK_TYPE_RADIO_TOOL_BUTTON));
end;
{$endif read_implementation}
|