Dialogs: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
mNo edit summary
No edit summary
(145 intermediate revisions by the same user not shown)
Line 1: Line 1:
== '''Overview''' ==
== '''Overview''' ==


On this page is outlined all the different "Widget Systems" that are available in ENIGMA, what platforms they support, along with the list of functions that are present in each one.
On this page is outlined the different "Widget Systems" that are available in ENIGMA, what platforms they support, and other important information you should also know before using them. Some of these widget systems require installation, which is also explained here. You may read the most up-to-date function documentation available [https://enigma-dev.org/forums/index.php?topic=3008 here], (and related announcements).




== '''Windows Widgets''' ==


== '''Win32''' ==


'''Platform''': Windows Desktop (Vista, 7, 8, 8.1, 10)


'''Platform''': Windows
'''Dependencies''': Provided with the OS


'''Dependencies''': N/A
'''License''': GPL3
 
'''UTF-8 Support''': No
 
'''Language''': C++
 
'''API'S''': WinAPI
 
 
'''Functions''':
 
● show_message(str)
 
● show_message_ext()
 
● show_question(str)
 
● show_error(str, abort)
 
● show_info()
 
● show_menu(str, def)
 
● show_menu_pos(x, y, str, def)
 
● get_string(str, def)
 
● get_login(username, password)
 
● get_integer(str, def)
 
● get_number(str, def)
 
● get_open_filename(filter, fname)
 
● get_open_filename_ext(filter, fname, dir, title)
 
● get_save_filename(filter, fname)
 
● get_save_filename_ext(filter, fname, dir, title)
 
● get_directory(dname)
 
● get_directory_alt(capt, root)
 
● get_color(defcol)
 
 
 
== '''DlgMod''' ==
 
 
'''Platform''': Windows
 
'''Dependencies''': [https://github.com/time-killer-games/DialogModule DialogModule]


'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes
Line 70: Line 17:
'''Language''': C++
'''Language''': C++


'''API'S''': WinAPI
'''API's''': Win32


'''Install Instructions''': N/A


'''Functions''':
'''Screenshots''': [https://i.imgur.com/TVGhkwG.gif Win32.gif]


● show_message(str)
'''Author(s)''': Josh Ventura,


● show_question(str)
Samuel Venable


● show_error(str, abort)


● get_string(str, def)
== '''Cocoa Widgets''' ==


● get_password(str, def)


● get_integer(str, def)
'''Platform''': Mac OS X / macOS (High Sierra, Mojave)


● get_passcode(str, def)
'''Dependencies''': Provided with the OS


● get_open_filename(filter, fname)
'''License''': GPL3
 
● get_open_filename_ext(filter, fname, dir, title)
 
● get_save_filename(filter, fname)
 
● get_save_filename_ext(filter, fname, dir, title)
 
● get_directory(dname)
 
● get_directory_alt(capt, root)
 
● get_color(defcol)
 
 
 
== '''OsaScript''' ==
 
 
'''Platform''': Mac OS X
 
'''Dependencies''': N/A


'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++, AppleScript
'''Language''': C++, Objective-C++
 
'''API'S''': Cocoa
 
 
'''Functions''':
 
● show_message(str)
 
● show_question(str)
 
● show_error(str, abort)
 
● get_string(str, def)
 
● get_password(str, def)
 
● get_integer(str, def)
 
● get_passcode(str, def)
 
● get_open_filename(filter, fname)
 
● get_open_filename_ext(filter, fname, dir, title)
 
● get_save_filename(filter, fname)


● get_save_filename_ext(filter, fname, dir, title)
'''API's''': Cocoa


● get_directory(dname)
'''Install Instructions''': N/A


● get_directory_alt(capt, root)
'''Screenshots''': [https://i.imgur.com/bkCYhWs.gif Cocoa.gif]


● get_color(defcol)
'''Author(s)''': Samuel Venable




== '''Zenity Widgets''' ==


== '''Zenity''' ==


'''Platform''': Linux, Raspbian, BSD (Potentially)


'''Platform''': Linux
'''Dependencies''': [https://github.com/GNOME/zenity Zenity], [https://github.com/GNOME GNOME], [https://github.com/GNOME/gtk GTK]


'''Dependencies''': [https://github.com/GNOME/zenity Zenity], [https://github.com/GNOME/gtk GTK]
'''License''': LGPL2


'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++, Shell Scripting
'''Language''': C++, Shell
 
'''API'S''': XLib
 
 
'''Functions''':
 
● show_message(str)
 
● show_question(str)
 
● show_error(str, abort)
 
● get_string(str, def)
 
● get_password(str, def)
 
● get_integer(str, def)


● get_passcode(str, def)
'''API's''': X11, GTK, GNOME


● get_open_filename(filter, fname)
'''Install Instructions''':  You have three options based on your Linux distribution:


● get_open_filename_ext(filter, fname, dir, title)
* On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install zenity'''


● get_save_filename(filter, fname)
* On RedHat-based Linux distributions, enter the following command into the terminal: '''yum install zenity'''


● get_save_filename_ext(filter, fname, dir, title)
* On Arch-based Linux distributions, please see [https://enigma-dev.org/docs/Wiki/Install:Arch_Setup setting up ENIGMA for Arch Linux development.]


● get_directory(dname)
Both you and the end user will need to install using one of the above methods.


● get_directory_alt(capt, root)
'''Screenshots''': [https://i.imgur.com/y2UaElD.gif Zenity.gif]


● get_color(defcol)
'''Author(s)''': Samuel Venable




== '''KDialog Widgets''' ==


== '''KDialog''' ==


'''Platform''': Linux, Raspbian, BSD (Potentially)


'''Platform''': Linux
'''Dependencies''': [https://github.com/KDE/kdialog KDialog], [https://github.com/KDE KDE], [https://github.com/qt Qt]


'''Dependencies''': [https://github.com/KDE/kdialog KDialog], [https://github.com/KDE KDE]
'''License''': GPL2


'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++, Shell Scripting
'''Language''': C++, Shell
 
'''API'S''': XLib
 
 
'''Functions''':
 
● show_message(str)
 
● show_question(str)
 
● show_error(str, abort)
 
● get_string(str, def)
 
● get_password(str, def)
 
● get_integer(str, def)


● get_passcode(str, def)
'''API's''': X11, Qt, KDE


● get_open_filename(filter, fname)
'''Install Instructions''':  You have three options based on your Linux distribution:


● get_open_filename_ext(filter, fname, dir, title)
* On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install kdialog'''


● get_save_filename(filter, fname)
* On RedHat-based Linux distributions, enter the following command into the terminal: '''yum install kdialog'''


● get_save_filename_ext(filter, fname, dir, title)
* On Arch-based Linux distributions, please see [https://enigma-dev.org/docs/Wiki/Install:Arch_Setup setting up ENIGMA for Arch Linux development.]


● get_directory(dname)
Both you and the end user will need to install using one of the above methods.


● get_directory_alt(capt, root)
'''Screenshots''': [https://i.imgur.com/Eugjc0n.gif KDialog.gif]


● get_color(defcol)
'''Author(s)''': Samuel Venable

Revision as of 03:26, 14 September 2019

Overview

On this page is outlined the different "Widget Systems" that are available in ENIGMA, what platforms they support, and other important information you should also know before using them. Some of these widget systems require installation, which is also explained here. You may read the most up-to-date function documentation available here, (and related announcements).


Windows Widgets

Platform: Windows Desktop (Vista, 7, 8, 8.1, 10)

Dependencies: Provided with the OS

License: GPL3

UTF-8 Support: Yes

Language: C++

API's: Win32

Install Instructions: N/A

Screenshots: Win32.gif

Author(s): Josh Ventura,

Samuel Venable


Cocoa Widgets

Platform: Mac OS X / macOS (High Sierra, Mojave)

Dependencies: Provided with the OS

License: GPL3

UTF-8 Support: Yes

Language: C++, Objective-C++

API's: Cocoa

Install Instructions: N/A

Screenshots: Cocoa.gif

Author(s): Samuel Venable


Zenity Widgets

Platform: Linux, Raspbian, BSD (Potentially)

Dependencies: Zenity, GNOME, GTK

License: LGPL2

UTF-8 Support: Yes

Language: C++, Shell

API's: X11, GTK, GNOME

Install Instructions: You have three options based on your Linux distribution:

  • On Debian-based Linux distributions, enter the following command into the terminal: sudo apt-get install zenity
  • On RedHat-based Linux distributions, enter the following command into the terminal: yum install zenity

Both you and the end user will need to install using one of the above methods.

Screenshots: Zenity.gif

Author(s): Samuel Venable


KDialog Widgets

Platform: Linux, Raspbian, BSD (Potentially)

Dependencies: KDialog, KDE, Qt

License: GPL2

UTF-8 Support: Yes

Language: C++, Shell

API's: X11, Qt, KDE

Install Instructions: You have three options based on your Linux distribution:

  • On Debian-based Linux distributions, enter the following command into the terminal: sudo apt-get install kdialog
  • On RedHat-based Linux distributions, enter the following command into the terminal: yum install kdialog

Both you and the end user will need to install using one of the above methods.

Screenshots: KDialog.gif

Author(s): Samuel Venable