See this page on info for including a plugin in your DOME project. See the demo folder for a small demo on how it works.
Most method arguments can be passed as an empty string ("") to use a default argument instead of your own.
titlecan be any string.messagecan be any string.typecan be"ok" "okcancel" "yesno" "yesnocancel"iconcan be"info" "warning" "error" "question"
Returns 0 for cancel/no , 1 for ok/yes , 2 for no in yesnocancel
titlecan be any string.messagecan be any string.inputcan be "" for a password box or any string.
Returns the string typed into the input box. If dialog is closed without selection it returns null.
titlecan be any string.defaultPathcan be a path to a specific file/folder or "".filtersmust be a List containing specific file types the user can save:["*.jpg", "*.png"]ect.- The maximum amount of filters in the list is 10.
descriptioncan be any string describing what kind of file the user is saving."image files"
Returns the full path to file as a string. If dialog is closed without selection it returns null.
titlecan be any string.defaultPathcan be a path to a specific file/folder or "".filtersmust be a List containing specific file types the user can open:["*.jpg", "*.png"]ect.- The maximum amount of filters in the list is 10.
descriptioncan be any string describing what kind of file the user is opening."image files"
Returns the full path to file as a string. If dialog is closed without selection it returns null.
titlecan be any string.defaultPathcan be a path to a specific folder or "".
Returns the path selected as a string. If dialog is closed without selection it returns null.
titlecan be any string.
Returns a hex code of the color selected as a string. Compatible with Color.hex api.