GdkWindow: Add gdk_window_set_background_rgba()
This new function takes a GdkRGBA in order to set the background to an alpha color. Keep in mind that RGBA visuals and a composited environment are still necessary to have an alpha background displayed.
This commit is contained in:
@ -697,6 +697,8 @@ void gdk_window_set_transient_for (GdkWindow *window,
|
||||
GdkWindow *parent);
|
||||
void gdk_window_set_background (GdkWindow *window,
|
||||
const GdkColor *color);
|
||||
void gdk_window_set_background_rgba (GdkWindow *window,
|
||||
GdkRGBA *rgba);
|
||||
void gdk_window_set_background_pattern (GdkWindow *window,
|
||||
cairo_pattern_t *pattern);
|
||||
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
|
||||
|
||||
Reference in New Issue
Block a user