Gtk::Layout
# File gtk2/sample/misc/mouse-gesture.rb, line 364 def add_gesture_action(sequence, action=Proc.new) @gesture.add_action(sequence, action) end
# File gtk2/sample/misc/mouse-gesture.rb, line 355 def gesture(widget, button, x, y, base_x, base_y) remove(@gesture) put(@gesture, 0, 0) _, _, w, h = allocation.to_a @gesture.set_size_request(w, h) @gesture.show @gesture.start(widget, button, x, y, base_x, base_y) end
Generated with the Darkfish Rdoc Generator 2.