Logo Search packages:      
Sourcecode: quickly-widgets version File versions  Download package

def widgets::grid_column::StringColumn::cell_edited (   self,
  cellrenderertext,
  path,
  new_text,
  data = None 
)

__edited - internal signal handler.
Updates the dictionary if a cell in the Treeview
has been edited.

Definition at line 119 of file grid_column.py.

00119                                                                       :
        """ __edited - internal signal handler.
        Updates the dictionary if a cell in the Treeview
        has been edited.

        """

        #get an iterator that points to the edited row
        if self.list_store is not None:
            iter = self.list_store.get_iter(path)
            #update the ListStore with the new text
            self.list_store.set_value(iter, self.index, self.display_val(new_text))
        
            dictionary = self.list_store.get_value(iter,self.dictionary_index)
            dictionary[self.key] = self.real_val(new_text)

    def display_val(self, val):


Generated by  Doxygen 1.6.0   Back to index