Re: how to set transparency to widgets?



On Sun, 2008-03-30 at 10:11 +0530, Harinandan S wrote:
> Hi All,
> 
> I am looking at ways to make a window transparent and only some
> widgets on the window to be visible. I found 
> 
> gtk_window_set_opacity API but this API sets opacity to entire window
> but not to a widget.
> 
> Is there any way I can make the window transparent and show only
> widgets?
> 
> I am also looking at ways to show multiple windows and set appropriate
> transparency to widgets to get the 
> 
> desired widgets from each window on the screen.

the functionality you want basically does not exist in GTK at this time.
there are ways to fake parts of it, and get things close to what you are
thinking of, but i would suggest revisiting your ideas about GUI design.
GTK is not the toolkit to use if transparency and so forth is critical
to what you want to do. Keep in mind, though, that transparency has only
recently been part of the "conceptual toolkit" for GUIs, and its
perfectly possible to design highly functional, deeply usable interfaces
without it.

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]