Windows的命令行对话框工具 [英] Command-line dialog tool for Windows
问题描述
我需要一个类似于cdialog(或whiptail)的对话工具,但是将在Windows上工作。
I need a dialog tool similar to cdialog (or whiptail), but one that will work on Windows.
我有MinGW和从源代码编译的东西没有问题,但是cdialog和whiptail,我知道的唯一的包含UNIX特定的代码,所以他们不会在Windows上编译。
I have MinGW and compiling something from source is no problem, but both cdialog and whiptail, the only ones that I know of, contain code that is UNIX-specific, and so they will not compile on Windows.
有没有可以使用的替代品?我不想自己找出并替换平台特定的代码。
Are there any alternatives that I can use? I'd rather not have to figure out and replace the platform-specific code myself.
推荐答案
我记得E文本编辑器 wxCocoaDialog 用于此目的:
I remember the E Text Editor using wxCocoaDialog for that purpose:
wxCocoaDialog是适用于OS X的CocoaDialog应用程序的多平台端口,允许使用常见的GUI控件,例如文件选择器,文本输入,进度条,是/否确认等等命令行应用程序。它适用于shell和Perl脚本(或Ruby,或Python或...等)。
wxCocoaDialog is a multi-platform port of the CocoaDialog application for OS X, that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations and more with a command-line application. It is ideal for use in shell and Perl scripts (or Ruby, or Python, or... etc).
这篇关于Windows的命令行对话框工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!