def buttons(self, master):
subframe = tk.Frame(master)<EOL>subframe.pack(side=tk.RIGHT)<EOL>ttk.Button(<EOL>subframe,<EOL>text="<STR_LIT:OK>",<EOL>width=<NUM_LIT:10>,<EOL>command=self.ok,<EOL>default=tk.ACTIVE<EOL>).pack(side=tk.LEFT, padx=<NUM_LIT:5>, pady=<NUM_LIT:5>)<EOL>ttk.Button(<EOL>subframe,<EOL>text="<STR_LIT>",<EOL>width=<NUM_LIT:10>,<EOL>command=self.cancel,<EOL>default=tk.ACTIVE<EOL>).pack(side=tk.LEFT, padx=<NUM_LIT:5>, pady=<NUM_LIT:5>)<EOL>self.bind("<STR_LIT>", self.ok)<EOL>self.bind("<STR_LIT>", self.cancel)<EOL>
Adds 'OK' and 'Cancel' buttons to standard button frame.

        Override if need for different configuration.