parameters: (self, parent)
docstring: Adds the view menu entry registers the event handler
docstring_summary: Adds the view menu entry registers the event handler
docstring_tokens: Adds the view menu entry registers the event handler
function: def PlugIt(self, parent):
          """Adds the view menu entry registers the event handler"""
          if parent:
              # This will let you use Editra's loggin system
              self._log = wx.GetApp().GetLog()
              self._log("[hello][info] Installing Hello World")
              vm = parent.GetMenuBar().GetMenuByName("view")
              vm.Append(ID_HELLO, _("Hello World"), 
                        _("Open a Hello World Dialog"))
          else:
              self._log("[hello][err] Failed to install hello plugin")
function_tokens: def PlugIt ( self , parent ) : if parent : # This will let you use Editra's loggin system self . _log = wx . GetApp ( ) . GetLog ( ) self . _log ( "[hello][info] Installing Hello World" ) vm = parent . GetMenuBar ( ) . GetMenuByName ( "view" ) vm . Append ( ID_HELLO , _ ( "Hello World" ) , _ ( "Open a Hello World Dialog" ) ) else : self . _log ( "[hello][err] Failed to install hello plugin" )