
For floating point, all values must have leading 0's. This can be integer or floating point format. Provides a spin button and entry for changing setting a number value.
units : String describing what the number is a unit of (pixels, bytes, etc.). default : default value to use - int or leading. The values can be string, number, or boolean. Provides a dropdown list from which you can select from description:value pairs defined by options.
You can open a file dialog to pick an image-type file, or enter a registered icon name in the text field. Provides a preview button and text entry field.
default : default icon path or icon name to use. If select-dir is true, it will only allow directories to be selected. Opens a file picker dialog to allow you to choose a filename. select-dir ( optional) - true or false, or leave off entirely. also have a value of custom, and a text entry will be provided next to that option, to allow entering a custom value. options : node of desc:val pair options, where desc is the displayed option name, val is the stored valueĪ group of radio buttons whose description and values are defined by options in description:value pairs.
default : default value from the list of options, or it can be a custom value if custom is defined."F8" or other string parseable by gtk_accelerator_parse.Īn input that allows you to select a keybinding for an action. default : default keybinding string - i.e.
Cinnamon desklets code#
default : default color string - can be "red" or "rgba(x,x,x,x)", etc.Ī Color button that lets you choose a RGBA color code as a string. description : String describing the settingĪ simple checkbox that controls a boolean type value. Jump to overview Widget Types and required fields checkbox
Applet, Desklet and Extension Settings Reference