Hola: Me gustaria saber como cambiar las imagenes que salen del propio SO a unas propias echas por mi.
Esto es parte del codigo de un ejemplo que he encontrado en el que muestra imagenes pero no se como ponerlo para que muestre unas hechas por mi: # create a liststore with one string column to use as the model self.liststore = gtk.ListStore(str, str, str, 'gboolean') # create the TreeView using liststore self.treeview = gtk.TreeView(self.liststore) # create the TreeViewColumns to display the data self.tvcolumn = gtk.TreeViewColumn('Pixbuf and Text') # add a row with text and a stock item - color strings for # the background self.liststore.append(['Open fg ', gtk.STOCK_OPEN, 'Open a File', True]) self.liststore.append(['Newfg fg', gtk.STOCK_NEW, 'New File', True]) self.liststore.append(['Print fgfg', gtk.STOCK_PRINT, 'Print File', False]) ¿Que debo poner en gtk.STOCK_OPEN para que salga una imagen propia ?
_______________________________________________ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/