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

def simple-restore-gnome::SRestoreGTK::init_tree (   self  ) 

Initalizes the tree structure

Definition at line 127 of file simple-restore-gnome.py.

00127                          :
            """
            Initalizes the tree structure
            """
            
            self.flist_widget = self.widgets.get_widget("treeview1")
            self.treestore = gtk.TreeStore( str )
            
            self.flist_widget.set_model( self.treestore )
            
            acolumn = gtk.TreeViewColumn( _("Path"), gtk.CellRendererText(), text=0 )
            self.flist_widget.append_column( acolumn )

            blist_widget = self.widgets.get_widget( "combobox1" )
            self.blist = gtk.ListStore(str)
            blist_widget.set_model( self.blist )
            cell = gtk.CellRendererText()
            blist_widget.pack_start( cell, True )
            blist_widget.add_attribute( cell, "text", 0)

            
      def load_tree(self, target):


Generated by  Doxygen 1.6.0   Back to index