hi all
how to create a transparent window using gtk c in fedora7( by programatically)
please help me
thank you in advance
hi all
how to create a transparent window using gtk c in fedora7( by programatically)
please help me
thank you in advance
Whilst the article isn't about Fedora, I think it's fairly close:
http://plan99.net/~mike/blog/?p=38
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Did you read the requirements? Maybe you are not fulfilling all of the requirements.
I haven't looked at the code in that blog, but from the brief description given, I would say that what you need is:
1. create the window with an alpha value.
2. Have some form of composition engine that combines the content of this window with what's behind it based on the alpha value(s).
Since the blog says that it does 1 from above, then I must assume that it's 2 that is missing. This is about what software (and perhaps hardware) you have on your machine. If you have a very basic graphics card, I expect alpha-blending may not work.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
You'll probably need the composite extension of X enabled, and you need a composite manager.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
hi all
am sending an attachment
please check this
thank you in advance
Yes, and I think CornedBee has already told you what you need - as did I, but perhaps not as clearly. Assuming you didn't change the code in the link to have zero as the alpha value.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.