(self)
Create LabelFrame for additional help menu sources.

        load_helplist loads list user_helplist with
        name, position pairs and copies names to listbox helplist.
        Clicking a name invokes help_source selected. Clicking
        button_helplist_name invokes helplist_item_name, which also
        changes user_helplist.  These functions all call
        set_add_delete_state. All but load call update_help_changes to
        rewrite changes['main']['HelpFiles'].

        Widgets for HelpFrame(LabelFrame):  (*) widgets bound to self
            frame_helplist: Frame
                (*)helplist: ListBox
                scroll_helplist: Scrollbar
            frame_buttons: Frame
                (*)button_helplist_edit
                (*)button_helplist_add
                (*)button_helplist_remove
Create LabelFrame for additional help menu sources.
Create LabelFrame for additional help menu sources .
def create_frame_help(self):
        """Create LabelFrame for additional help menu sources.

        load_helplist loads list user_helplist with
        name, position pairs and copies names to listbox helplist.
        Clicking a name invokes help_source selected. Clicking
        button_helplist_name invokes helplist_item_name, which also
        changes user_helplist.  These functions all call
        set_add_delete_state. All but load call update_help_changes to
        rewrite changes['main']['HelpFiles'].

        Widgets for HelpFrame(LabelFrame):  (*) widgets bound to self
            frame_helplist: Frame
                (*)helplist: ListBox
                scroll_helplist: Scrollbar
            frame_buttons: Frame
                (*)button_helplist_edit
                (*)button_helplist_add
                (*)button_helplist_remove
        """
        # self = frame_help in dialog (until ExtPage class).
        frame_helplist = Frame(self)
        self.helplist = Listbox(
                frame_helplist, height=5, takefocus=True,
                exportselection=FALSE)
        scroll_helplist = Scrollbar(frame_helplist)
        scroll_helplist['command'] = self.helplist.yview
        self.helplist['yscrollcommand'] = scroll_helplist.set
        self.helplist.bind('<ButtonRelease-1>', self.help_source_selected)

        frame_buttons = Frame(self)
        self.button_helplist_edit = Button(
                frame_buttons, text='Edit', state='disabled',
                width=8, command=self.helplist_item_edit)
        self.button_helplist_add = Button(
                frame_buttons, text='Add',
                width=8, command=self.helplist_item_add)
        self.button_helplist_remove = Button(
                frame_buttons, text='Remove', state='disabled',
                width=8, command=self.helplist_item_remove)

        # Pack frame_help.
        frame_helplist.pack(side=LEFT, padx=5, pady=5, expand=TRUE, fill=BOTH)
        self.helplist.pack(side=LEFT, anchor=E, expand=TRUE, fill=BOTH)
        scroll_helplist.pack(side=RIGHT, anchor=W, fill=Y)
        frame_buttons.pack(side=RIGHT, padx=5, pady=5, fill=Y)
        self.button_helplist_edit.pack(side=TOP, anchor=W, pady=5)
        self.button_helplist_add.pack(side=TOP, anchor=W)
        self.button_helplist_remove.pack(side=TOP, anchor=W, pady=5)
def create_frame_help ( self ) : # self = frame_help in dialog (until ExtPage class). frame_helplist = Frame ( self ) self . helplist = Listbox ( frame_helplist , height = 5 , takefocus = True , exportselection = FALSE ) scroll_helplist = Scrollbar ( frame_helplist ) scroll_helplist [ 'command' ] = self . helplist . yview self . helplist [ 'yscrollcommand' ] = scroll_helplist . set self . helplist . bind ( '<ButtonRelease-1>' , self . help_source_selected ) frame_buttons = Frame ( self ) self . button_helplist_edit = Button ( frame_buttons , text = 'Edit' , state = 'disabled' , width = 8 , command = self . helplist_item_edit ) self . button_helplist_add = Button ( frame_buttons , text = 'Add' , width = 8 , command = self . helplist_item_add ) self . button_helplist_remove = Button ( frame_buttons , text = 'Remove' , state = 'disabled' , width = 8 , command = self . helplist_item_remove ) # Pack frame_help. frame_helplist . pack ( side = LEFT , padx = 5 , pady = 5 , expand = TRUE , fill = BOTH ) self . helplist . pack ( side = LEFT , anchor = E , expand = TRUE , fill = BOTH ) scroll_helplist . pack ( side = RIGHT , anchor = W , fill = Y ) frame_buttons . pack ( side = RIGHT , padx = 5 , pady = 5 , fill = Y ) self . button_helplist_edit . pack ( side = TOP , anchor = W , pady = 5 ) self . button_helplist_add . pack ( side = TOP , anchor = W ) self . button_helplist_remove . pack ( side = TOP , anchor = W , pady = 5 )