Can Ruby use GTK :: StatusIcon to find an existing systray icon?

I am trying to automate right clicking a systemtray icon using ruby. After searching the web, I find that GTK :: StatusIcon can be used to create the NEW systray icon and menu, etc. However, I haven't found a way to identify the current / existing icons. From the search results, all messages are displayed on how to create a new statusIcon like this:

si = Gtk::StatusIcon.new
si.stock = Gtk::Stock::DAILOG_INFO
si.tooltiop ='StatusIcon'

      

Can I use Gtk :: StatusIcon to find / click the icon of an existing systray?

I am new to GUI and GTK programming. Can anyone point me in the right direction?

Thanks in advance!

+3
ruby gtk2


source to share


No one has answered this question yet

Check out similar questions:

1165
Check if value exists in array in Ruby
574
How can I "nicely" format the JSON output in Ruby on Rails?
503
How do I uninstall RVM (Ruby Version Manager) from my system?
381
How to find min / max with Ruby?
7
Does the icon exist in systray?
2
Is there a way to make header changes from GTK2?
2
Script website that will click on a button every x seconds
1
Systray icon for Pystray
0
Ruby Shoes: how to replace button text with image / icon
0
Where should I place my mainloop?



All Articles
Loading...
X
Show
Funny
Dev
Pics