Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [GTK][ubuntu 9.10] can't render alpha state on Shell.
[GTK][ubuntu 9.10] can't render alpha state on Shell. [message #496425] Tue, 10 November 2009 01:41 Go to next message
Hiroki Kondo is currently offline Hiroki KondoFriend
Messages: 47
Registered: July 2009
Member
Hello,
I'm not able to use Shell#setAlpha(int) on Ubuntu 9.10.
If I set like below, The shell is already shown.Why?

Shell shell = new Shell();
shell.setAlpha(0);
shell.open(); // if it called, the value is 255? Now I don't see it.

My question is...
* Is there as well as it might have been to use GTK Platform?
* Is it only GTK+ 2.18 issue?
Re: [GTK][ubuntu 9.10] can't render alpha state on Shell. [message #496565 is a reply to message #496425] Tue, 10 November 2009 14:58 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

For this to work on GTK you need:
- Gtk 2.12 or newer (which you have)
- an X server that supports running with a compositing manager

I would think that Ubuntu 9.10 would have support for the second item,
though I cannot verify this because I don't have direct physical access to
an Ubuntu installation. Are you remoting to it from a machine with an older
linux install by any chance?

Grant


"Hiroki Kondo" <kompiro@gmail.com> wrote in message
news:hdagc5$286$1@build.eclipse.org...
> Hello,
> I'm not able to use Shell#setAlpha(int) on Ubuntu 9.10.
> If I set like below, The shell is already shown.Why?
>
> Shell shell = new Shell();
> shell.setAlpha(0);
> shell.open(); // if it called, the value is 255? Now I don't see it.
>
> My question is...
> * Is there as well as it might have been to use GTK Platform?
> * Is it only GTK+ 2.18 issue?
Re: [GTK][ubuntu 9.10] can't render alpha state on Shell. [message #496695 is a reply to message #496565] Wed, 11 November 2009 00:57 Go to previous message
Hiroki Kondo is currently offline Hiroki KondoFriend
Messages: 47
Registered: July 2009
Member
Thank you for replying.

Sorry,I forgot to set advanced visual effect to window manager.
After I set the value, alpha value is enabled.Very thank you!
Previous Topic:How can I detect scrolling triggered by TreeNavigator ?
Next Topic:Capture a mouseHover on disable checkBox
Goto Forum:
  


Current Time: Wed Jul 15 06:33:51 GMT 2020

Powered by FUDForum. Page generated in 0.01899 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top