From: MrZombie Date: 2010-07-21T00:51:35+09:00 Subject: Re: Ruby Shoes tray icon? One of my main concerns as a programmer is to not reinvent the wheel, so I always search before I code. I'll have to look at the other libraries used by Shoes, but there already is a couple of libs to bind global hotkeys with GTK, I'm guessing the same is true for the rest. I'm guessing a possible approach would be a small abstraction layer built on license-compatible libraries that can bind global hotkeys, and make sure the right library is loaded depending on the underlying OS or something... Duck typing ftw. On 2010-07-20 11:23:00 -0400, Steve Klabnik said: > [Note: parts of this message were removed to make it a legal post.] > > Hm. I know that nothing like that is built-in, but that would also be pretty > useful... > > Shoes itself is a combination of its own private Ruby 1.9.1 with a bunch of > libraries (including gtk). So, if you can do it with gtk, I don't see how it > wouldn't be _possible_ with shoes, but nothing like that is built-in yet. > > If you end up writing either of these approaches into a non-Shoes version of > your app, I'd love to talk about folding them into Shoes. -- Thank you for your brain. -MrZombie