[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

translucent window

Spitfire

2/13/2007 4:24:00 AM

I'm writing an application that sometimes notifies the user of certain
events on the desktop by some pop up msgs. I would also like to have
these pop ups made translucent at user's choice and give user the
control to adjust the transparency. Would such a feature plausible in
Ruby? If so, what is the best way to try this in Ruby?

--
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
â??I'm smart enough to know that I'm dumb.â?
- Richard P Feynman
4 Answers

Gavin Kistner

2/13/2007 5:11:00 AM

0

On Feb 12, 9:23 pm, Spitfire <timid.gen...@gmail.com> wrote:
> I'm writing an application that sometimes notifies the user of certain
> events on the desktop by some pop up msgs. I would also like to have
> these pop ups made translucent at user's choice and give user the
> control to adjust the transparency. Would such a feature plausible in
> Ruby? If so, what is the best way to try this in Ruby?

Will this be on a single operating system, or multiple?

If it was just going to be on Mac OS, I'd advocate using something
like Growl[1].

If multiple OSs, what you can do will depend on what graphical library
you choose to use. It might surprise (and frustrate) you to know that
there isn't just one way to make a window or dialog using Ruby.

[1] http://growl.info...

Spitfire

2/13/2007 5:19:00 AM

0

Phrogz wrote:
> On Feb 12, 9:23 pm, Spitfire <timid.gen...@gmail.com> wrote:
>> I'm writing an application that sometimes notifies the user of certain
>> events on the desktop by some pop up msgs. I would also like to have
>> these pop ups made translucent at user's choice and give user the
>> control to adjust the transparency. Would such a feature plausible in
>> Ruby? If so, what is the best way to try this in Ruby?
>
> Will this be on a single operating system, or multiple?
>
> If it was just going to be on Mac OS, I'd advocate using something
> like Growl[1].
>
> If multiple OSs, what you can do will depend on what graphical library
> you choose to use. It might surprise (and frustrate) you to know that
> there isn't just one way to make a window or dialog using Ruby.
>
> [1] http://growl.info...
>
It is for a single OS. And most probably might be one of GNU/Linux. Now,
please tell me what I can start with?

--
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
â??I'm smart enough to know that I'm dumb.â?
- Richard P Feynman

Gavin Kistner

2/13/2007 5:47:00 AM

0

Spitfire wrote:
> It is for a single OS. And most probably might be one of GNU/Linux. Now,
> please tell me what I can start with?

I don't know much about the various GUI toolkits, but I know that they
are discussed frequently on this list and the web. Here's a few search
results to get you started (I cannot vouch for the veracity or
fairness of the contents of these pages):

http://www.trug.ca/Ruby_GU...

http://wiki.rubygarden.org/Ruby/page/show/ComparingGuiToolki...

http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb?key=gui+toolkit&cginame=namazu.rb&submit=Search&dbname=ruby-talk&max=50&am...

Spitfire

2/15/2007 3:43:00 AM

0

Thanks for the pointers.

Phrogz wrote:
> http://www.trug.ca/Ruby_GU...
>
> http://wiki.rubygarden.org/Ruby/page/show/ComparingGuiToolki...
>
> http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb?key=gui+toolkit&cginame=namazu.rb&submit=Search&dbname=ruby-talk&max=50&am...
>


--
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
â??I'm smart enough to know that I'm dumb.â?
- Richard P Feynman