Forum: Ruby-Gnome 2 Gtk::Frame - how to respond to mouse-click event?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4828d528e2e46f7c8160c336eb332836?d=identicon&s=25 Robert Heiler (shevegen)
on 2015-07-02 20:56
Hi. Consider this code here:



  require 'gtk2'

  frame = Gtk::Frame.new('test')
  window = Gtk::Window.new
  window.add frame
  window.show_all
  window.resize(500,500)
  Gtk.main


Now I need to be able to respond to on-mouse-click events
on Gtk::Frame, but I don't seem to get any signals when
I do so.

Help is greatly appreciated, perhaps I am missing something
obvious - most other widgets seem to respond nicely to
events.
This topic is locked and can not be replied to.