⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtkfilesystem.h

📁 gtk2-2.10.6.1的升级包。可直接在linux下使用
💻 H
📖 第 1 页 / 共 2 页
字号:
				    GtkFilePath       **parent,				    GError            **error);  GtkFilePath * (*make_path)        (GtkFileSystem     *file_system,				     const GtkFilePath *base_path,				     const gchar       *display_name,				     GError           **error);  gboolean      (*parse)            (GtkFileSystem     *file_system,				     const GtkFilePath *base_path,				     const gchar       *str,				     GtkFilePath      **folder,				     gchar            **file_part,				     GError           **error);  gchar *      (*path_to_uri)      (GtkFileSystem      *file_system,				    const GtkFilePath  *path);  gchar *      (*path_to_filename) (GtkFileSystem      *file_system,				    const GtkFilePath  *path);  GtkFilePath *(*uri_to_path)      (GtkFileSystem      *file_system,				    const gchar        *uri);  GtkFilePath *(*filename_to_path) (GtkFileSystem      *file_system,				    const gchar        *path);  /* Bookmarks    */  gboolean       (*insert_bookmark)        (GtkFileSystem     *file_system,					    const GtkFilePath *path,					    gint               position,					    GError           **error);  gboolean       (*remove_bookmark)        (GtkFileSystem     *file_system,					    const GtkFilePath *path,					    GError           **error);  GSList *       (*list_bookmarks)         (GtkFileSystem     *file_system);  /* Signals    */  void (*volumes_changed)   (GtkFileSystem *file_system);  void (*bookmarks_changed) (GtkFileSystem *file_system);  /* Bookmark labels    */  gchar *        (*get_bookmark_label)     (GtkFileSystem     *file_system,					    const GtkFilePath *path);  void           (*set_bookmark_label)     (GtkFileSystem     *file_system,					    const GtkFilePath *path,					    const gchar       *label);};GType             gtk_file_system_get_type       (void) G_GNUC_CONST;GSList *          gtk_file_system_list_volumes   (GtkFileSystem     *file_system);GtkFileSystemVolume *gtk_file_system_get_volume_for_path (GtkFileSystem     *file_system,							  const GtkFilePath *path);void              gtk_file_system_volume_free             (GtkFileSystem        *file_system,							   GtkFileSystemVolume  *volume);GtkFilePath *     gtk_file_system_volume_get_base_path    (GtkFileSystem        *file_system,							   GtkFileSystemVolume  *volume);gboolean          gtk_file_system_volume_get_is_mounted   (GtkFileSystem        *file_system,							   GtkFileSystemVolume  *volume);GtkFileSystemHandle *gtk_file_system_volume_mount         (GtkFileSystem                    *file_system,							   GtkFileSystemVolume              *volume,							   GtkFileSystemVolumeMountCallback  callback,							   gpointer                          data);char *            gtk_file_system_volume_get_display_name (GtkFileSystem        *file_system, 							   GtkFileSystemVolume  *volume);GdkPixbuf *       gtk_file_system_volume_render_icon      (GtkFileSystem        *file_system,							   GtkFileSystemVolume  *volume,							   GtkWidget            *widget,							   gint                  pixel_size,							   GError              **error);gchar *           gtk_file_system_volume_get_icon_name    (GtkFileSystem        *file_system,							   GtkFileSystemVolume  *volume,							   GError              **error);gboolean          gtk_file_system_get_parent     (GtkFileSystem     *file_system,						  const GtkFilePath *path,						  GtkFilePath      **parent,						  GError           **error);GtkFileSystemHandle *gtk_file_system_get_folder  (GtkFileSystem                  *file_system,						  const GtkFilePath              *path,						  GtkFileInfoType                 types,						  GtkFileSystemGetFolderCallback  callback,						  gpointer                        data);GtkFileSystemHandle *gtk_file_system_get_info    (GtkFileSystem                  *file_system,						  const GtkFilePath              *path,						  GtkFileInfoType                 types,						  GtkFileSystemGetInfoCallback    callback,						  gpointer                        data);GtkFileSystemHandle *gtk_file_system_create_folder (GtkFileSystem                     *file_system,						    const GtkFilePath                 *path,						    GtkFileSystemCreateFolderCallback  callback,						    gpointer                           data);void              gtk_file_system_cancel_operation (GtkFileSystemHandle *handle);GtkFilePath *     gtk_file_system_make_path      (GtkFileSystem     *file_system,						  const GtkFilePath *base_path,						  const gchar       *display_name,						  GError           **error);gboolean          gtk_file_system_parse          (GtkFileSystem     *file_system,						  const GtkFilePath *base_path,						  const gchar       *str,						  GtkFilePath      **folder,						  gchar            **file_part,						  GError           **error);gchar *      gtk_file_system_path_to_uri      (GtkFileSystem     *file_system,					       const GtkFilePath *path);gchar *      gtk_file_system_path_to_filename (GtkFileSystem     *file_system,					       const GtkFilePath *path);GtkFilePath *gtk_file_system_uri_to_path      (GtkFileSystem     *file_system,					       const gchar       *uri);GtkFilePath *gtk_file_system_filename_to_path (GtkFileSystem     *file_system,					       const gchar       *filename);gboolean     gtk_file_system_path_is_local    (GtkFileSystem     *filesystem,					       const GtkFilePath *path);gboolean gtk_file_system_insert_bookmark (GtkFileSystem     *file_system,					  const GtkFilePath *path,					  gint               position,					  GError           **error);gboolean gtk_file_system_remove_bookmark (GtkFileSystem     *file_system,					  const GtkFilePath *path,					  GError           **error);GSList  *gtk_file_system_list_bookmarks  (GtkFileSystem     *file_system);gchar   *gtk_file_system_get_bookmark_label (GtkFileSystem     *file_system,					     const GtkFilePath *path);void     gtk_file_system_set_bookmark_label (GtkFileSystem     *file_system,					     const GtkFilePath *path,					     const gchar       *label);/* * Detailed information about a particular folder */#define GTK_TYPE_FILE_FOLDER             (gtk_file_folder_get_type ())#define GTK_FILE_FOLDER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FOLDER, GtkFileFolder))#define GTK_IS_FILE_FOLDER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FOLDER))#define GTK_FILE_FOLDER_GET_IFACE(inst)  (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_FILE_FOLDER, GtkFileFolderIface))struct _GtkFileFolderIface{  GTypeInterface base_iface;  /* Methods   */  GtkFileInfo *      (*get_info)       (GtkFileFolder     *folder,					const GtkFilePath *path,				        GError           **error);  gboolean           (*list_children)  (GtkFileFolder     *folder,				        GSList           **children,				        GError           **error);  /* ??? refresh() ??? */  /* Signals   */  void (*deleted)       (GtkFileFolder *monitor);  void (*files_added)   (GtkFileFolder *monitor,			 GSList        *paths);  void (*files_changed) (GtkFileFolder *monitor,			 GSList        *paths);  void (*files_removed) (GtkFileFolder *monitor,			 GSList        *paths);  /* Method / signal */  gboolean (*is_finished_loading) (GtkFileFolder *folder);  void     (*finished_loading)    (GtkFileFolder *folder);};GType        gtk_file_folder_get_type      (void) G_GNUC_CONST;gboolean     gtk_file_folder_list_children (GtkFileFolder      *folder,					    GSList            **children,					    GError            **error);GtkFileInfo *gtk_file_folder_get_info      (GtkFileFolder      *folder,					    const GtkFilePath  *path,					    GError            **error);gboolean     gtk_file_folder_is_finished_loading (GtkFileFolder *folder);/* GtkFilePath */#define GTK_TYPE_FILE_PATH             (gtk_file_path_get_type ())GType   gtk_file_path_get_type (void) G_GNUC_CONST;#ifdef __GNUC__#define gtk_file_path_new_dup(str) \ ({ const gchar *__s = (str); (GtkFilePath *)g_strdup(__s); })#define gtk_file_path_new_steal(str) \ ({ gchar *__s = (str); (GtkFilePath *)__s; })#define gtk_file_path_get_string(path) \ ({ const GtkFilePath *__p = (path); (const gchar *)__p; })#define gtk_file_path_free(path) \ ({ GtkFilePath *__p = (path); g_free (__p); })#else /* __GNUC__ */#define gtk_file_path_new_dup(str)     ((GtkFilePath *)g_strdup(str))#define gtk_file_path_new_steal(str)   ((GtkFilePath *)(str))#define gtk_file_path_get_string(str) ((const gchar *)(str))#define gtk_file_path_free(path)       g_free (path)#endif/* __GNUC__ */#define gtk_file_path_copy(path)       gtk_file_path_new_dup (gtk_file_path_get_string(path))#ifdef G_OS_WIN32int _gtk_file_system_win32_path_compare (const gchar *path1,					 const gchar *path2);#define gtk_file_path_compare(path1,path2) \  _gtk_file_system_win32_path_compare (gtk_file_path_get_string (path1), \	                               gtk_file_path_get_string (path2))#else#define gtk_file_path_compare(path1,path2) strcmp (gtk_file_path_get_string (path1), \						   gtk_file_path_get_string (path2))#endifGSList *gtk_file_paths_sort (GSList *paths);GSList *gtk_file_paths_copy (GSList *paths);void    gtk_file_paths_free (GSList *paths);/* GtkFileSystem modules support */GtkFileSystem  *gtk_file_system_create (const char *file_system_name);G_END_DECLS#endif /* __GTK_FILE_SYSTEM_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -