choose_rgba


Description:

public async RGBA? choose_rgba (Window? parent, RGBA? initial_color, Cancellable? cancellable) throws Error

Presents a color chooser dialog to the user.

Parameters:

this

a color dialog

parent

the parent window

initial_color

the color to select initially

cancellable

a cancellable to cancel the operation

callback

a callback to call when the operation is complete

user_data

data to pass to callback