class Vimamsa::Menu
Public Class Methods
new(menubar)
click to toggle source
# File lib/vimamsa/gui_menu.rb, line 49 def initialize(menubar) # nfo["file"] = { :items => {}, :label => "File" } # nfo["actions"] = { :items => {}, :label => "Actions" } # nfo["help"] = { :items => {}, :label => "Help" } @nfo = {} add_menu_items # add_to_menu("help.extra.keybindings", { :label => "Show keybindings" }) # add_to_menu("help.extra.nfo.keybindings", { :label => "Show keybindings" }) # add_to_menu("help.keybindings", { :label => "Show keybindings <span foreground='#888888' >C ? k</span>" }) #font='12' weight='ultrabold' for k, v in @nfo build_menu(v, menubar) end end