Пример #1
0
    def _get_edit_buttons_row(self):
        modes_pixbufs = [INSERTMOVE_CURSOR, OVERWRITE_CURSOR, ONEROLL_CURSOR, TWOROLL_CURSOR, SLIDE_CURSOR, MULTIMOVE_CURSOR]
        middlebar.create_edit_buttons_row_buttons(self, modes_pixbufs)
    
        buttons_row = Gtk.HBox(False, 1)
        if editorpersistance.prefs.midbar_tc_left == True:
            middlebar.fill_with_TC_LEFT_pattern(buttons_row, self)
        else:
            middlebar.fill_with_TC_MIDDLE_pattern(buttons_row, self)

        return buttons_row
Пример #2
0
    def _get_edit_buttons_row(self):
        modes_pixbufs = [
            INSERTMOVE_CURSOR, OVERWRITE_CURSOR, ONEROLL_CURSOR,
            TWOROLL_CURSOR, SLIDE_CURSOR, MULTIMOVE_CURSOR
        ]
        middlebar.create_edit_buttons_row_buttons(self, modes_pixbufs)

        buttons_row = gtk.HBox(False, 1)
        if editorpersistance.prefs.midbar_tc_left == True:
            middlebar.fill_with_TC_LEFT_pattern(buttons_row, self)
        else:
            middlebar.fill_with_TC_MIDDLE_pattern(buttons_row, self)

        return buttons_row