summaryrefslogtreecommitdiff
path: root/packages/gtk2/src/gtk+/gtk/gtkfilechooserembed.inc
blob: 56cec122ef123a51b7d5ae48e76d892dea2c87be (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

{$IFDEF read_forward_definitions}
{$ENDIF}

{$IFDEF read_interface_types}
type
   PGtkFileChooserEmbed = pointer;
   PPGtkFileChooserEmbed = ^PGtkFileChooserEmbed;

   PGtkFileChooserEmbedIface = ^TGtkFileChooserEmbedIface;
   TGtkFileChooserEmbedIface = record
        base_iface : TGTypeInterface;
        { Methods }
        get_default_size : procedure (chooser_embed:PGtkFileChooserEmbed; default_width:Pgint; default_height:Pgint);cdecl;
        get_resizable_hints : procedure (chooser_embed:PGtkFileChooserEmbed; resize_horizontally:Pgboolean; resize_vertically:Pgboolean);
        { Signals }
        should_respond : function (chooser_embed:PGtkFileChooserEmbed):gboolean;
        default_size_changed : procedure (chooser_embed:PGtkFileChooserEmbed);
     end;

{$ENDIF} {types}

{$IFDEF read_interface_rest}

function GTK_TYPE_FILE_CHOOSER_EMBED : GType;

function GTK_FILE_CHOOSER_EMBED(obj : pointer) : PGtkFileChooserEmbed;

function GTK_IS_FILE_CHOOSER_EMBED(obj : pointer) : gboolean;

function GTK_FILE_CHOOSER_EMBED_GET_IFACE(obj : pointer) : PGtkFileChooserEmbedIface;



function _gtk_file_chooser_embed_get_type:GType;cdecl;external gtklib name '_gtk_file_chooser_embed_get_type';
procedure _gtk_file_chooser_embed_get_default_size(chooser_embed:PGtkFileChooserEmbed; default_width:Pgint; default_height:Pgint);cdecl;external gtklib name '_gtk_file_chooser_embed_get_default_size';
procedure _gtk_file_chooser_embed_get_resizable_hints(chooser_embed:PGtkFileChooserEmbed; resize_horizontally:Pgboolean; resize_vertically:Pgboolean);cdecl;external gtklib name '_gtk_file_chooser_embed_get_resizable_hints';
function _gtk_file_chooser_embed_should_respond(chooser_embed:PGtkFileChooserEmbed):gboolean;cdecl;external gtklib name '_gtk_file_chooser_embed_should_respond';
procedure _gtk_file_chooser_embed_delegate_iface_init(iface:PGtkFileChooserEmbedIface);cdecl;external gtklib name '_gtk_file_chooser_embed_delegate_iface_init';
procedure _gtk_file_chooser_embed_set_delegate(receiver:PGtkFileChooserEmbed; delegate:PGtkFileChooserEmbed);cdecl;external gtklib name '_gtk_file_chooser_embed_set_delegate';
{$endif} {read_interface_rest}

{************************************************}

{$IFDEF read_implementation}

function GTK_TYPE_FILE_CHOOSER_EMBED : GType;
  begin
     GTK_TYPE_FILE_CHOOSER_EMBED:=_gtk_file_chooser_embed_get_type;
  end;


function GTK_FILE_CHOOSER_EMBED(obj : pointer) : PGtkFileChooserEmbed;
begin
   GTK_FILE_CHOOSER_EMBED:=G_TYPE_CHECK_INSTANCE_CAST(obj,GTK_TYPE_FILE_CHOOSER_EMBED);
end;

function GTK_IS_FILE_CHOOSER_EMBED(obj : pointer) : gboolean;
begin
   GTK_IS_FILE_CHOOSER_EMBED:=G_TYPE_CHECK_INSTANCE_TYPE(obj,GTK_TYPE_FILE_CHOOSER_EMBED);
end;

function GTK_FILE_CHOOSER_EMBED_GET_IFACE(obj : pointer) : PGtkFileChooserEmbedIface;
begin
   GTK_FILE_CHOOSER_EMBED_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(obj,GTK_TYPE_FILE_CHOOSER_EMBED);
end;

{$ENDIF} {read_implementation}