~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to packages/extra/gtk2/gtk+/gtk/gtkfixed.inc

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2005-05-30 11:59:10 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050530115910-x5pbzm4qqta4i94h
Tags: 2.0.0-2
debian/fp-compiler.postinst.in: forgot to reapply the patch that
correctly creates the slave link to pc(1).  (Closes: #310907)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
   PGtkFixed = ^TGtkFixed;
 
10
   TGtkFixed = record
 
11
        container : TGtkContainer;
 
12
        children : PGList;
 
13
     end;
 
14
 
 
15
   PGtkFixedClass = ^TGtkFixedClass;
 
16
   TGtkFixedClass = record
 
17
        parent_class : TGtkContainerClass;
 
18
     end;
 
19
 
 
20
   PGtkFixedChild = ^TGtkFixedChild;
 
21
   TGtkFixedChild = record
 
22
        widget : PGtkWidget;
 
23
        x : gint;
 
24
        y : gint;
 
25
     end;
 
26
 
 
27
{$ENDIF read_interface_types}
 
28
 
 
29
//------------------------------------------------------------------------------
 
30
 
 
31
{$IFDEF read_interface_rest}
 
32
function GTK_TYPE_FIXED : GType;
 
33
function GTK_FIXED(obj: pointer) : PGtkFixed;
 
34
function GTK_FIXED_CLASS(klass: pointer) : PGtkFixedClass;
 
35
function GTK_IS_FIXED(obj: pointer) : boolean;
 
36
function GTK_IS_FIXED_CLASS(klass: pointer) : boolean;
 
37
function GTK_FIXED_GET_CLASS(obj: pointer) : PGtkFixedClass;
 
38
 
 
39
 
 
40
function gtk_fixed_get_type:TGtkType; cdecl; external gtklib;
 
41
function gtk_fixed_new:PGtkWidget; cdecl; external gtklib;
 
42
procedure gtk_fixed_put(fixed:PGtkFixed; widget:PGtkWidget; x:gint; y:gint); cdecl; external gtklib;
 
43
procedure gtk_fixed_move(fixed:PGtkFixed; widget:PGtkWidget; x:gint; y:gint); cdecl; external gtklib;
 
44
procedure gtk_fixed_set_has_window(fixed:PGtkFixed; has_window:gboolean); cdecl; external gtklib;
 
45
function gtk_fixed_get_has_window(fixed:PGtkFixed):gboolean; cdecl; external gtklib;
 
46
{$ENDIF read_interface_rest}
 
47
 
 
48
//------------------------------------------------------------------------------
 
49
 
 
50
{$IFDEF read_implementation}
 
51
function GTK_TYPE_FIXED : GType;
 
52
begin
 
53
   GTK_TYPE_FIXED:=gtk_fixed_get_type;
 
54
end;
 
55
 
 
56
function GTK_FIXED(obj: pointer) : PGtkFixed;
 
57
begin
 
58
   GTK_FIXED:=PGtkFixed(GTK_CHECK_CAST(obj,GTK_TYPE_FIXED));
 
59
end;
 
60
 
 
61
function GTK_FIXED_CLASS(klass: pointer) : PGtkFixedClass;
 
62
begin
 
63
   GTK_FIXED_CLASS:=PGtkFixedClass(GTK_CHECK_CLASS_CAST(klass,GTK_TYPE_FIXED));
 
64
end;
 
65
 
 
66
function GTK_IS_FIXED(obj: pointer) : boolean;
 
67
begin
 
68
   GTK_IS_FIXED:=GTK_CHECK_TYPE(obj,GTK_TYPE_FIXED);
 
69
end;
 
70
 
 
71
function GTK_IS_FIXED_CLASS(klass: pointer) : boolean;
 
72
begin
 
73
   GTK_IS_FIXED_CLASS:=GTK_CHECK_CLASS_TYPE(klass,GTK_TYPE_FIXED);
 
74
end;
 
75
 
 
76
function GTK_FIXED_GET_CLASS(obj: pointer) : PGtkFixedClass;
 
77
begin
 
78
   GTK_FIXED_GET_CLASS:=PGtkFixedClass(GTK_CHECK_GET_CLASS(obj,GTK_TYPE_FIXED));
 
79
end;
 
80
 
 
81
{$ENDIF read_implementation}
 
82
// included by gtk2.pas
 
83