Sha256: dc0ddd5f408452848cef498da1e16de6444f5c2484ef21f0900bd1025d6c7f88
Contents?: true
Size: 533 Bytes
Versions: 43
Compression:
Stored size: 533 Bytes
Contents
require "rabbit/menu" module Rabbit module Renderer module Display module Menu private def init_menu @menu = Rabbit::Menu.new(@canvas.actions) end def update_menu @menu.update_menu(@canvas) end def popup_menu @menu.popup(0, Gtk.current_event_time) end def attach_menu(window) @menu.attach(window) end def detach_menu(window) @menu.detach(window) end end end end end
Version data entries
43 entries across 43 versions & 1 rubygems