Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/r/o/robotframework-workbench-0.5/rwb/editor/editor_page.py   robotframework-workbench(Download)
                                      highlightthickness=0,
                                      foreground="black",
                                      command=lambda: self.dte.event_generate("<<Close>>"))
        # it's busted; might as well disable it for now.
        self.close_button.configure(state="disabled")
        self.popup_menu = tk.Menu(self.dte, tearoff=False)
        self.popup_menu.add_command(label="Cut", underline=2, 
                                   command=lambda: self.dte.event_generate("<<Cut>>"))
        self.popup_menu.add_command(label="Copy", underline=0, 
                                   command=lambda: self.dte.event_generate("<<Copy>>"))
        self.popup_menu.add_command(label="Paste", underline=0, 
                                   command=lambda: self.dte.event_generate("<<Paste>>"))
        self.popup_menu.add_separator()
        self.popup_menu.add_command(label="Close this file", 
                                   command=lambda: self.dte.event_generate("<<Close>>"))
 
        # hmmm; on my mac the right button does a "<2>",

src/r/o/robotframework-workbench-HEAD/rwb/editor/editor_page.py   robotframework-workbench(Download)
                                      highlightthickness=0,
                                      foreground="black",
                                      command=lambda: self.dte.event_generate("<<Close>>"))
        # it's busted; might as well disable it for now.
        self.close_button.configure(state="disabled")
        self.popup_menu = tk.Menu(self.dte, tearoff=False)
        self.popup_menu.add_command(label="Cut", underline=2, 
                                   command=lambda: self.dte.event_generate("<<Cut>>"))
        self.popup_menu.add_command(label="Copy", underline=0, 
                                   command=lambda: self.dte.event_generate("<<Copy>>"))
        self.popup_menu.add_command(label="Paste", underline=0, 
                                   command=lambda: self.dte.event_generate("<<Paste>>"))
        self.popup_menu.add_separator()
        self.popup_menu.add_command(label="Close this file", 
                                   command=lambda: self.dte.event_generate("<<Close>>"))
 
        # hmmm; on my mac the right button does a "<2>",