From: Brian M. <mrb...@gm...> - 2006-03-22 21:30:37
|
I swiped this code from Pythoncard\widget.py import graphic # where you want to change images self.panel._imageFile =3D yourOtherImageFile self.panel._bitmap =3D graphic.Bitmap( self.panel._imageFile ) On 3/22/06, =D8yvind Dale Sp=F8rck <oe...@sp...> wrote: > > Hello. > > I am making a Pythoncard application and cannot seem to find how I can > change the background image. > > {'application':{'type':'Application', > 'name':'Template', > 'backgrounds': [ > {'type':'Background', > 'name':'bgTemplate', > 'title':u'MyProg', > 'size':(839, 666), > 'image':'graphics.jpg', > 'visible':1, > > By changing the visible to 0 (by self.Show(0)), nothing shows. I would > just like the image graphics.jpg to not, or to be able to change it in th= e > program. Is that possible? > > Thanks in advance. > > > -- > This email has been scanned for viruses & spam by Decna as - www.decna.no > Denne e-posten er sjekket for virus & spam av Decna as - www.decna.no > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |