Sha256: f9893875f393e4b15452caec93fd3ea7822ae24dd4e02d2f2942bd31312560a6

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

Gtk.load_class :Menu
module Gtk
  # Overrides for GtkMenu
  class Menu
    unless method_defined? :popup
      def popup parent_menu_shell, parent_menu_item, func, data, button, activate_time
        popup_for_device(nil,
                         parent_menu_shell, parent_menu_item, func, data,
                         nil,
                         button, activate_time)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-gtk-0.8.0 lib/gir_ffi-gtk/menu.rb
gir_ffi-gtk-0.7.2 lib/gir_ffi-gtk/menu.rb