osdialog
osdialog copied to clipboard
Set given color as initial color in gtk color picker
-
Sets the given color as initial color. Keeps the given value if the users doesn't change the color dialog.
gtk2
Example when passing an initial color ofr: 200,g: 255, b: 255, a: 100
:Currently it's always:
When the user chooses okay, the color
r: 255, g: 255, b: 255, a: 255
is returned, no matter the initial input.Now, it opens with the values that are passed initially:
and keeps them when confirming the dialog without further changes.
This would resemble the behavior of the color picker windows.