gtkfilechooserentry.inc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {$IFDEF read_forward_definitions}
  2. {$ENDIF}
  3. {$IFDEF read_interface_types}
  4. type
  5. PGtkFileChooserEntry = pointer;
  6. PPGtkFileChooserEntry = ^PGtkFileChooserEntry;
  7. {$ENDIF}
  8. {$IFDEF read_interface_rest}
  9. function GTK_TYPE_FILE_CHOOSER_ENTRY : GType;
  10. function GTK_FILE_CHOOSER_ENTRY(obj : pointer) : PGtkFileChooserEntry;
  11. function GTK_IS_FILE_CHOOSER_ENTRY(obj : pointer) : gboolean;
  12. function _gtk_file_chooser_entry_get_type:GType;cdecl;external gtklib name '_gtk_file_chooser_entry_get_type';
  13. function _gtk_file_chooser_entry_new:PGtkWidget;cdecl;external gtklib name '_gtk_file_chooser_entry_new';
  14. procedure _gtk_file_chooser_entry_set_file_system(chooser_entry:PGtkFileChooserEntry; file_system:PGtkFileSystem);cdecl;external gtklib name '_gtk_file_chooser_entry_set_file_system';
  15. procedure _gtk_file_chooser_entry_set_base_folder(chooser_entry:PGtkFileChooserEntry; path:PGtkFilePath);cdecl;external gtklib name '_gtk_file_chooser_entry_set_base_folder';
  16. procedure _gtk_file_chooser_entry_set_file_part(chooser_entry:PGtkFileChooserEntry; file_part:Pgchar);cdecl;external gtklib name '_gtk_file_chooser_entry_set_file_part';
  17. function _gtk_file_chooser_entry_get_current_folder(chooser_entry:PGtkFileChooserEntry):PGtkFilePath;cdecl;external gtklib name '_gtk_file_chooser_entry_get_current_folder';
  18. function _gtk_file_chooser_entry_get_file_part(chooser_entry:PGtkFileChooserEntry):Pgchar;cdecl;external gtklib name '_gtk_file_chooser_entry_get_file_part';
  19. {$endif} {read_interface_rest}
  20. {************************************************}
  21. {$IFDEF read_implementation}
  22. function GTK_TYPE_FILE_CHOOSER_ENTRY : GType;
  23. begin
  24. GTK_TYPE_FILE_CHOOSER_ENTRY:=_gtk_file_chooser_entry_get_type;
  25. end;
  26. {return type}
  27. function GTK_FILE_CHOOSER_ENTRY(obj : pointer) : PGtkFileChooserEntry;
  28. begin
  29. GTK_FILE_CHOOSER_ENTRY:=G_TYPE_CHECK_INSTANCE_CAST(obj,GTK_TYPE_FILE_CHOOSER_ENTRY);
  30. end;
  31. function GTK_IS_FILE_CHOOSER_ENTRY(obj : pointer) : gboolean;
  32. begin
  33. GTK_IS_FILE_CHOOSER_ENTRY:=G_TYPE_CHECK_INSTANCE_TYPE(obj,GTK_TYPE_FILE_CHOOSER_ENTRY);
  34. end;
  35. {$ENDIF} {read_implementation}