[R] Display a jpeg inside a widget which already has text

From: danzam <daniel.zamykal_at_jcu.edu.au>
Date: Sun, 15 Jun 2008 23:00:29 -0700 (PDT)


I am trying to insert a jpeg into a widget I have created. I have used this link
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/showImage.html to display a jpeg inside a newly created widget but would like some info on how to insert into a pre existing widget.
This is my code below for my first widget.

fontHeading2 <- tkfont.create(family="arial",size=16, slant="italic") fontHeading3 <- tkfont.create(family="arial",size=12) fontTextLabel <- tkfont.create(family="arial",size=12) fontlabel <- tkfont.create(family="arial",size=10,weight="bold") tkgrid(tklabel(tt,height=2,width=50, text=""))

tkgrid(tklabel(tt,text="'Enhance Your Decision Making'",font=fontHeading2,foreground="black"))

tkgrid(tklabel(tt,text=" v 4.0", font=fontTextLabel))

##I would like to insert an image into this widget

Any help would be greatly appreciated.........


View this message in context: http://www.nabble.com/Display-a-jpeg-inside-a-widget-which-already-has-text-tp17858340p17858340.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 06:56:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 07:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive