Logo Search packages:      
Sourcecode: lekhonee version File versions  Download package

def lekhonee-gnome::LekhoneeGTK::addCategory_cb (   self,
  widget 
)

Add a new category

Definition at line 346 of file lekhonee-gnome.py.

00346                                     :
        """
        Add a new category
        """
        try:
            text = unicode(self.addCategoryTxt.get_text())
            if text:
                self.server.addCategory(text)
                ts = self.categoryList.get_selection()
                iter = self.liststore.append((text,))
                ts.select_iter(iter)
                self.addCategoryTxt.set_text('')
        except:
            print "Error adding a new category"



    def new_cb(self, widget):


Generated by  Doxygen 1.6.0   Back to index