parent.frames[1].location.href = url1; parent.frames[2].location.href = url2; } -->
Package gnue :: Package designer :: Package base :: Module MenuBar :: Class MenuBar
[show private | hide private]

Class MenuBar


Method Summary
  __init__(self, instance)
  addAction(self, location, text, event, grouping, canToggle, canDisable, icon, hotkey, eventdata, help)
  addMenu(self, location, translation, grouping)
  finalize(self)
  getEventHelp(self, handle)
Return the help string of a menu event, so that it could be used for toolbar icon tooltips too.
  getMenu(self, location)
  __setupMenu(self, parent, location, text)

Method Details

__init__(self, instance)
(Constructor)

addAction(self, location, text, event, grouping=499, canToggle=0, canDisable=0, icon=None, hotkey=None, eventdata={}, help='')

addMenu(self, location, translation=None, grouping=499)

finalize(self)

getEventHelp(self, handle)

Return the help string of a menu event, so that it could be used for toolbar icon tooltips too. (Two to two too...)

getMenu(self, location)

__setupMenu(self, parent, location, text)



GNUe Home

Private API

Developer's Corner