|
wxCocoaDialog supports a few runmodes which are not yet available in the original CocoaDialog for mac: colorselect
Provides a color selection dialog.
returns: the color selected, or nothing if they cancel. Options: (in addition to global options) | color | The initial color to be selected in the dialog. It is quite flexible about the input format. You can define the color in html format like #FFFFFF or FFFFFF (if prepended with #, remember to quote it if using bash), css format like rgb(123,123,123) or for common colors just with the name. | | output-rgb | Output the red, green and blue components of the color on separate lines. | | output-css | Output in css format like rgb(123, 123, 123). | | output-html | Output in html format like #FFFFFF (default) |
menu
Shows a popup menu.
returns: Index of the selected menuitem (counting from 1), or nothing if they cancel. Example: CocoaDialog menu --items o&ne "#two" +three Options: (in addition to global options) | items | List of menu items. If prepended with # the item will be disabled. If prepended with + the item will be checked. You can add & in front of a char to make it work as a shortcut. | | xpos | position of menu (default is mouse pos). | | ypos | position of menu (default is mouse pos). |
html
Shows a html document
Reads a html document (by default from stdin) and presents it for the user in a dialog. If the documents contains links in the form "cocoadialog://return this", clicking them will close the dialog and output the link contents ("return this"). returns: The contents of a cocoadialog:// link clicked, or nothing if closed by user. Options: (in addition to global options) | html-from-file | Read html document from file (default is stdin). | | title | Set dialog title. | | width | Set dialog width. | | height | Set dialog height |
|
Great little port with extended features. I love it.
Currently, it is impossible to have entries in the menu like "<<" and "<" and ">" or symbols starting with like send.
Could it be possible to resolve this in the current C++ source code?
Thanks.
Josh