gtkWindowSetOpacity

0th

Percentile

gtkWindowSetOpacity

Request the windowing system to make window partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) On X11 this has any effect only on X screens with a compositing manager running. See gtkWidgetIsComposited. On Windows it should work always.

Keywords
internal
Usage
gtkWindowSetOpacity(object, opacity)
Arguments
object
a GtkWindow
opacity
desired opacity, between 0 and 1
Details

Note that setting a window's opacity after the window has been shown causes it to flicker once on Windows. Since 2.12

Aliases
  • gtkWindowSetOpacity
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.