Color.gtk_new

Invokes platform specific functionality to allocate a new color. <p> <b>IMPORTANT:</b> This method is <em>not</em> part of the public API for <code>Color</code>. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code. </p>

@param device the device on which to allocate the color @param gdkColor the handle for the color @param alpha the int for the alpha content in the color(Currently SWT honors extreme values for alpha ie. 0 or 255)

@noreference This method is not intended to be referenced by clients.

  1. Color gtk_new(Device device, GdkColor* gdkColor)
  2. Color gtk_new(Device device, GdkColor* gdkColor, int alpha)
    class Color
    static
    gtk_new
    (,
    GdkColor* gdkColor
    ,
    int alpha
    )

Meta