Class: Gtk::Menu

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi-gtk/gtk2/menu.rb

Overview

Overrides for GtkMenu

Instance Method Summary collapse

Instance Method Details



16
17
18
19
20
21
22
23
24
# File 'lib/gir_ffi-gtk/gtk2/menu.rb', line 16

def popup(parent_menu_shell, parent_menu_item, button, activate_time, &func)
  v1 = Gtk::Widget.from(parent_menu_shell)
  v2 = Gtk::Widget.from(parent_menu_item)
  v3 = Gtk::MenuPositionFunc.from(func)
  v4 = GirFFI::ArgHelper.store(v3)
  v5 = button
  v6 = activate_time
  Gtk::Lib.gtk_menu_popup self, v1, v2, v3, v4, v5, v6
end