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

📄 ptk-input-dialog.h

📁 台湾人开发的Linux下的文件管理器
💻 H
字号:
/**  C Interface: ptk-input-dialog** Description: *** Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2005** Copyright: See COPYING file that comes with this distribution**/#ifndef _PTK_INPUT_DIALOG_H_#define _PTK_INPUT_DIALOG_H_#include <gtk/gtk.h>/** Create a dialog used to prompt the user to input a string.* title: the title of dialog.* prompt: prompt showed to the user*/GtkWidget* ptk_input_dialog_new( const char* title,                                 const char* prompt,                                 const char* default_text,                                 GtkWindow* parent );/** Get user input from the text entry of the input dialog.* The returned string should be freed when no longer needed.* widget: the input dialog*/gchar* ptk_input_dialog_get_text( GtkWidget* input_dialog );/** Get the prompt label of the input dialog.* input_dialog: the input dialog*/GtkWidget* ptk_input_dialog_get_label( GtkWidget* input_dialog );/** Get the text entry widget of the input dialog.* input_dialog: the input dialog*/GtkWidget* ptk_input_dialog_get_entry( GtkWidget* input_dialog );/** Used to prompt the user to input a string.* The returned string should be freed when no longer needed.*/ /*char* ptk_input_dialog_get_user_input( const char* title,                                   const char* prompt );*/#endif

⌨️ 快捷键说明

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