1

Is it possible to remove the grey background of a GtkViewport (making the background transparent)?

Marin
  • 263
  • 3
  • 9
  • Why don't you tell us exactly what you are trying to accomplish? It would be much more easier to help you. – karlphillip Mar 16 '11 at 19:12
  • Syntax of my UI: A VBox containing a toolbar and a notebook, who contains in each tab a scrolledwindow with a viewport inside, who contains a GooCanvas drawing area – Marin Mar 16 '11 at 19:47

1 Answers1

0

From my own experimentation, it appears that a GTKViewport has a transparent background by default. This means, then, that the grey background is coming from your GooCanvas drawing area, and not the Viewport.

For creating a transparent background on a GooCanvas, read THIS TOPIC

Alternatively, the transparency issue may be in a higher level widget (such as your scrolled window or notebook.)

Community
  • 1
  • 1
CodeMouse92
  • 6,840
  • 14
  • 73
  • 130
  • How to create a transparent background for GooCanvas? Your link above shows only a question not a answer. Can you let me know? – inckka Feb 12 '16 at 05:37