Prev: Count occurences of vars in array
Next: File.basename
From: MrZombie on 20 Jul 2010 10:05 Hi all! Any way to have Shoes drop a tray icon in the tray, regardless of the used system? -- Thank you for your brain. -MrZombie
From: Steve Klabnik on 20 Jul 2010 10:54 [Note: parts of this message were removed to make it a legal post.] This isn't currently a feature of Shoes. I'll make a 'feature request' note of it in our issues tracker, though. I generally dislike tray icons, but I can see how they'd be useful to others. On Tue, Jul 20, 2010 at 10:10 AM, MrZombie <mrzombie(a)thezombie.net> wrote: > Hi all! > > Any way to have Shoes drop a tray icon in the tray, regardless of the used > system? > -- > Thank you for your brain. > -MrZombie > > >
From: MrZombie on 20 Jul 2010 11:04 Not a problem, really. I just wondered if it was feasible. Any way you can capture a global shortcut? I'm too lazy to be bothered to write down everything I do at work for my timesheets, so the plan is to build something that I can reach from anywhere using a prompt box triggered by a configurable key combination. I've been looking at Shoes as it seems like a program that COULD be useful to someone else than me. I'll end up writing that piece of code myself anyway, I'm just looking at what Shoes can help me with on that. I'd much prefer being able to catch global shortcuts than have a tray icon. On 2010-07-20 10:54:00 -0400, Steve Klabnik said: > [Note: parts of this message were removed to make it a legal post.] > > This isn't currently a feature of Shoes. > > I'll make a 'feature request' note of it in our issues tracker, though. I > generally dislike tray icons, but I can see how they'd be useful to others. > > On Tue, Jul 20, 2010 at 10:10 AM, MrZombie <mrzombie(a)thezombie.net> wrote: > >> Hi all! >> >> Any way to have Shoes drop a tray icon in the tray, regardless of the used >> system? >> -- >> Thank you for your brain. >> -MrZombie -- Thank you for your brain. -MrZombie
From: Steve Klabnik on 20 Jul 2010 11:23 [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.
From: MrZombie on 20 Jul 2010 11:47 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
|
Pages: 1 Prev: Count occurences of vars in array Next: File.basename |