DictonaryGrid should have it's own "append_column" function

Bug #559766 reported by Rick Spencer on 2010-04-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly Widgets
Rick Spencer

Bug Description

It might be nice to be able to more easily add a column to a dictionary grid. Currently the following non-obvious code is required:

    def add_column(self, widget, data=None):
        response, val = prompts.string("New Column","Please select a name for the new column")
        if response == gtk.RESPONSE_OK:
            column = conventions.get_column(val,len(self.grid.get_columns()),len(self.grid.keys), True)

This could easily be append_key(self, key) and then add the column as coded here.

Changed in quidgets:
assignee: nobody → Rick Spencer (rick-rickspencer3)
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers