PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/gtk2/src/gtk+/gtk/gtkseparatormenuitem.inc

https://github.com/slibre/freepascal
Pascal | 71 lines | 40 code | 18 blank | 13 comment | 0 complexity | 1eb9e48f33964c54b15bcb0129290117 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1// included by gtk2.pas
 2
 3{$IFDEF read_forward_definitions}
 4{$ENDIF read_forward_definitions}
 5
 6//------------------------------------------------------------------------------
 7
 8{$IFDEF read_interface_types}
 9   PGtkSeparatorMenuItem = ^TGtkSeparatorMenuItem;
10   TGtkSeparatorMenuItem = record
11        menu_item : TGtkMenuItem;
12     end;
13
14   PGtkSeparatorMenuItemClass = ^TGtkSeparatorMenuItemClass;
15   TGtkSeparatorMenuItemClass = record
16        parent_class : TGtkMenuItemClass;
17     end;
18
19{$ENDIF read_interface_types}
20
21//------------------------------------------------------------------------------
22
23{$IFDEF read_interface_rest}
24function GTK_TYPE_SEPARATOR_MENU_ITEM : GType;
25function GTK_SEPARATOR_MENU_ITEM(obj: pointer) : PGtkSeparatorMenuItem;
26function GTK_SEPARATOR_MENU_ITEM_CLASS(klass: pointer) : PGtkSeparatorMenuItemClass;
27function GTK_IS_SEPARATOR_MENU_ITEM(obj: pointer) : boolean;
28function GTK_IS_SEPARATOR_MENU_ITEM_CLASS(klass: pointer) : boolean;
29function GTK_SEPARATOR_MENU_ITEM_GET_CLASS(obj: pointer) : PGtkSeparatorMenuItemClass;
30
31
32function gtk_separator_menu_item_get_type:GType; cdecl; external gtklib;
33function gtk_separator_menu_item_new:PGtkWidget; cdecl; external gtklib;
34{$ENDIF read_interface_rest}
35
36//------------------------------------------------------------------------------
37
38{$IFDEF read_implementation}
39function GTK_TYPE_SEPARATOR_MENU_ITEM : GType;
40begin
41   GTK_TYPE_SEPARATOR_MENU_ITEM:=gtk_separator_menu_item_get_type;
42end;
43
44function GTK_SEPARATOR_MENU_ITEM(obj: pointer) : PGtkSeparatorMenuItem;
45begin
46   GTK_SEPARATOR_MENU_ITEM:=PGtkSeparatorMenuItem(GTK_CHECK_CAST(obj,GTK_TYPE_SEPARATOR_MENU_ITEM));
47end;
48
49function GTK_SEPARATOR_MENU_ITEM_CLASS(klass: pointer) : PGtkSeparatorMenuItemClass;
50begin
51   GTK_SEPARATOR_MENU_ITEM_CLASS:=PGtkSeparatorMenuItemClass(GTK_CHECK_CLASS_CAST(klass,GTK_TYPE_SEPARATOR_MENU_ITEM));
52end;
53
54function GTK_IS_SEPARATOR_MENU_ITEM(obj: pointer) : boolean;
55begin
56   GTK_IS_SEPARATOR_MENU_ITEM:=GTK_CHECK_TYPE(obj,GTK_TYPE_SEPARATOR_MENU_ITEM);
57end;
58
59function GTK_IS_SEPARATOR_MENU_ITEM_CLASS(klass: pointer) : boolean;
60begin
61   GTK_IS_SEPARATOR_MENU_ITEM_CLASS:=GTK_CHECK_CLASS_TYPE(klass,GTK_TYPE_SEPARATOR_MENU_ITEM);
62end;
63
64function GTK_SEPARATOR_MENU_ITEM_GET_CLASS(obj: pointer) : PGtkSeparatorMenuItemClass;
65begin
66   GTK_SEPARATOR_MENU_ITEM_GET_CLASS:=PGtkSeparatorMenuItemClass(GTK_CHECK_GET_CLASS(obj,GTK_TYPE_SEPARATOR_MENU_ITEM));
67end;
68
69{$ENDIF read_implementation}
70// included by gtk2.pas
71