app-chooser-dialog.h

来自「台湾人开发的Linux下的文件管理器」· C头文件 代码 · 共 57 行

H
57
字号
/**  C Interface: appchooserdlg** Description: *** Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006** Copyright: See COPYING file that comes with this distribution**/#ifndef _APP_CHOOSER_DLG_H_#define _APP_CHOOSER_DLG_H_#include <gtk/gtk.h>#include "vfs-mime-type.h"G_BEGIN_DECLS/* Let the user choose a application */const gchar* ptk_choose_app_for_mime_type( GtkWindow* parent,                                    VFSMimeType* mime_type );/* Let the user choose a application */GtkWidget* app_chooser_dialog_new( GtkWindow* parent, VFSMimeType* mime_type );/** Return selected application in a ``newly allocated'' string.* Returned string is the file name of the *.desktop file or a command line.* These two can be separated by check if the returned string is ended* with ".desktop".*/const gchar* app_chooser_dialog_get_selected_app( GtkWidget* dlg );/** Check if the user set the selected app default handler.*/gboolean app_chooser_dialog_get_set_default( GtkWidget* dlg );voidon_notebook_switch_page                (GtkNotebook     *notebook,                                        GtkNotebookPage *page,                                        guint            page_num,                                        gpointer         user_data);voidon_browse_btn_clicked                  (GtkButton       *button,                                        gpointer         user_data);G_END_DECLS#endif

⌨️ 快捷键说明

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