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

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

Open a dir chooser and get the directory name

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

00595                                :
        """
        Open a dir chooser and get the directory name
        """
        self.chooser = gtk.FileChooserDialog(title='Select Folder',action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
            buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_OPEN,gtk.RESPONSE_OK))
        response = self.chooser.run()
        if  response == gtk.RESPONSE_OK:
            self.path = self.chooser.get_filename()

        self.chooser.destroy()

    def selectBttn_cb(self, widget):


Generated by  Doxygen 1.6.0   Back to index