Unit 'gtk2' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#gtk2]

TGtkFileSystemIface

Declaration

Source position: gtkfilesystem.inc line 59

type TGtkFileSystemIface = record

  base_iface: TGTypeInterface;

  list_volumes: function(

  file_system: PGtkFileSystem

):PGSList;

  get_volume_for_path: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath

):PGtkFileSystemVolume;

  get_folder: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  types: TGtkFileInfoType;

  error: PPGError

):PGtkFileFolder;

  create_folder: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  error: PPGError

):gboolean;

  volume_free: procedure(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume

);

  volume_get_base_path: function(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume

):PGtkFilePath;

  volume_get_is_mounted: function(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume

):gboolean;

  volume_mount: function(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume;

  error: PPGError

):gboolean;

  volume_get_display_name: function(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume

):Pchar;

  volume_render_icon: function(

  file_system: PGtkFileSystem;

  volume: PGtkFileSystemVolume;

  widget: PGtkWidget;

  pixel_size: gint;

  error: PPGError

):PGdkPixbuf;

  get_parent: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  parent: PPGtkFilePath;

  error: PPGError

):gboolean;

  make_path: function(

  file_system: PGtkFileSystem;

  base_path: PGtkFilePath;

  display_name: Pgchar;

  error: PPGError

):PGtkFilePath;

  parse: function(

  file_system: PGtkFileSystem;

  base_path: PGtkFilePath;

  str: Pgchar;

  folder: PPGtkFilePath;

  file_part: PPgchar;

  error: PPGError

):gboolean;

  path_to_uri: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath

):Pgchar;

  path_to_filename: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath

):Pgchar;

  uri_to_path: function(

  file_system: PGtkFileSystem;

  uri: Pgchar

):PGtkFilePath;

  filename_to_path: function(

  file_system: PGtkFileSystem;

  path: Pgchar

):PGtkFilePath;

  render_icon: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  widget: PGtkWidget;

  pixel_size: gint;

  error: PPGError

):PGdkPixbuf;

  insert_bookmark: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  position: gint;

  error: PPGError

):gboolean;

  remove_bookmark: function(

  file_system: PGtkFileSystem;

  path: PGtkFilePath;

  error: PPGError

):gboolean;

  list_bookmarks: function(

  file_system: PGtkFileSystem

):PGSList;

  volumes_changed: procedure(

  file_system: PGtkFileSystem

);

  bookmarks_changed: procedure(

  file_system: PGtkFileSystem

);

end;


Documentation generated on: 2023-03-18