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

📄 gtkfilechooser.zc

📁 实现树形结构
💻 ZC
字号:
import "glib/glib"import "glib/glib-object"import "gtk/gtkobject"import "gtk/gtkwidget"import "gtk/gtkfilefilter"public [name="c"]struct GtkFileChooser; dummy: int; endenum GtkFileChooserAction	GTK_FILE_CHOOSER_ACTION_OPEN	GTK_FILE_CHOOSER_ACTION_SAVE	GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER	GTK_FILE_CHOOSER_ACTION_CREATE_FOLDERendenum GtkFileChooserError	GTK_FILE_CHOOSER_ERROR_NONEXISTENT	GTK_FILE_CHOOSER_ERROR_BAD_FILENAMEendimport func gtk_file_chooser_get_type: GTypeimport func gtk_file_chooser_set_action          (GtkFileChooser,GtkFileChooserAction): voidimport func gtk_file_chooser_get_action          (GtkFileChooser): GtkFileChooserAction import func gtk_file_chooser_set_local_only      (GtkFileChooser,gboolean): voidimport func gtk_file_chooser_get_local_only      (GtkFileChooser): gbooleanimport func gtk_file_chooser_set_select_multiple (GtkFileChooser,gboolean): voidimport func gtk_file_chooser_get_select_multiple (GtkFileChooser): gbooleanimport func gtk_file_chooser_set_show_hidden     (GtkFileChooser,gboolean): voidimport func gtk_file_chooser_get_show_hidden     (GtkFileChooser): gbooleanimport func gtk_file_chooser_set_current_name   (GtkFileChooser,[] gchar): voidimport func gtk_file_chooser_get_filename       (GtkFileChooser): [] gcharimport func gtk_file_chooser_set_filename       (GtkFileChooser,[] char): gbooleanimport func gtk_file_chooser_select_filename    (GtkFileChooser,[] char): gbooleanimport func gtk_file_chooser_unselect_filename  (GtkFileChooser,[] char): voidimport func gtk_file_chooser_select_all         (GtkFileChooser): voidimport func gtk_file_chooser_unselect_all       (GtkFileChooser): voidimport func gtk_file_chooser_get_filenames      (GtkFileChooser): GSListimport func gtk_file_chooser_set_current_folder (GtkFileChooser,[] gchar): gbooleanimport func gtk_file_chooser_get_current_folder (GtkFileChooser): [] gcharimport func gtk_file_chooser_get_uri                (GtkFileChooser): [] gcharimport func gtk_file_chooser_set_uri                (GtkFileChooser,[] char): gbooleanimport func gtk_file_chooser_select_uri             (GtkFileChooser,[] char): gbooleanimport func gtk_file_chooser_unselect_uri           (GtkFileChooser,[] char): voidimport func gtk_file_chooser_get_uris               (GtkFileChooser): GSListimport func gtk_file_chooser_set_current_folder_uri (GtkFileChooser,[] gchar): gbooleanimport func gtk_file_chooser_get_current_folder_uri (GtkFileChooser): [] gcharimport func gtk_file_chooser_set_preview_widget        (GtkFileChooser,GtkWidget): voidimport func gtk_file_chooser_get_preview_widget        (GtkFileChooser): GtkWidgetimport func gtk_file_chooser_set_preview_widget_active (GtkFileChooser,gboolean): voidimport func gtk_file_chooser_get_preview_widget_active (GtkFileChooser): gbooleanimport func gtk_file_chooser_set_use_preview_label     (GtkFileChooser,gboolean): voidimport func gtk_file_chooser_get_use_preview_label     (GtkFileChooser): gbooleanimport func gtk_file_chooser_get_preview_filename (GtkFileChooser): [] charimport func gtk_file_chooser_get_preview_uri      (GtkFileChooser): [] charimport func gtk_file_chooser_set_extra_widget (GtkFileChooser,GtkWidget): voidimport func gtk_file_chooser_get_extra_widget (GtkFileChooser): GtkWidgetimport func gtk_file_chooser_add_filter    (GtkFileChooser,GtkFileFilter): voidimport func gtk_file_chooser_remove_filter (GtkFileChooser,GtkFileFilter): voidimport func gtk_file_chooser_list_filters  (GtkFileChooser): GSListimport func gtk_file_chooser_set_filter (GtkFileChooser,GtkFileFilter): voidimport func gtk_file_chooser_get_filter (GtkFileChooser): GtkFileFilter//import func gtk_file_chooser_add_shortcut_folder    (GtkFileChooser,[] char,[]GError): gboolean//import func gtk_file_chooser_remove_shortcut_folder (GtkFileChooser,[] gchar,[]GError): gbooleanimport func gtk_file_chooser_list_shortcut_folders   (GtkFileChooser): GSList//import func gtk_file_chooser_add_shortcut_folder_uri    (GtkFileChooser,[] gchar,[]GError): gboolean//import func gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser,[] gchar,[]GError): gbooleanimport func gtk_file_chooser_list_shortcut_folder_uris   (GtkFileChooser): GSListend

⌨️ 快捷键说明

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