search for: tkfont

Displaying 6 results from an estimated 6 matches for "tkfont".

Did you mean: font
2008 Jun 16
0
Display a jpeg inside a widget which already has text
...ated. 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. tt<-tktoplevel() 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(tk...
2007 Oct 08
3
tcltk scrollbar
...al listboxes). When I remove all the widgets on top everything works perfectly. Any help would be highly apprecciated. ps: all subsequent listboxes and scrollbars work perfectly, the first one (column 1 of main window) is the only one constantly off. library(tcltk) tt<-tktoplevel() mainFont<-tkfont.create(family="times",size=16) lbl.MainT<-tklabel(tt,text="Basic Manipulation",font=mainFont) tkgrid(lbl.MainT,sticky="nw") but.Browse<-tkbutton(tt,text=" Browse ",command=browse) but.Apply<-tkbutton(tt,text=" Apply ") scr1 <- tkscrollba...
2003 May 13
1
__stderrp problem again with tk83
...resh sources (cvsuped right now). But it did not help Of course I also reinstalled the tk-port again. It seems that the tk-port insists on using the symbol, but is not linked against compat-libraries or something like that? Is this possible? I've checked further, the symbol appears in unix/tkFont.o in the port build directory, the source is in generic/tkFont.c apparently: [..] fprintf(stderr, "Font %s still in cache.\n", Tcl_GetHashKey(&fiPtr->fontCache, searchPtr)); [..] uses the 'stderr' filehandle, but this looks valid to me? In fact, I don...
2006 Dec 12
2
tklistbox...
...statística - Delegação Regional do Porto Tel.: 22 6072016 (Extensão: 4116) --------------------------------------------------- require(tcltk) #Criação da janela janela <- tktoplevel() tkwm.title(janela,"Apuramentos - Inquérito ao Emprego") #Estilo do texto estilo_texto <- tkfont.create(family="verdana",size=8,weight="bold") tkgrid(tklabel(janela,text="Trimestre:",font=estilo_texto)) cb1 <- tkcheckbutton(janela) cb1Valor <- tclVar("0") tkconfigure(cb1,variable=cb1Valor) tkgrid(tklabel(janela,text="1T"),cb1)...
2008 Dec 22
1
newbie question on tcltk
...", width=20, height=1, default="active", overrelief="flat",anchor="w", borderwidth=4 ) tkgrid(frameUpper) tkgrid(frameOverall) tkpack (frameUpper, back_but, side='left', anchor='n') tkgrid(tklabel(top,text=" ")) fontHeading <- tkfont.create(family="arial",size=14,weight="bold") other_window <- function () { tkdestroy(top) tt <- tktoplevel(padx=100, pady=100) b1 <- tkbutton (tt, text = "3.", width=20, font=fontHeading, command=function () tkdestroy (tt) ) tkgrid(b1) tkgrid(tkl...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...K", width=20, height=1, default="active", overrelief="flat",anchor="w", borderwidth=4 ) tkgrid(frameUpper) tkgrid(frameOverall) tkpack (frameUpper, back_but, side='left', anchor='n') tkgrid(tklabel(top,text=" ")) fontHeading <- tkfont.create(family="arial",size=14,weight="bold") other_window <- function () { tkdestroy(top) tt <- tktoplevel(padx=100, pady=100) b1 <- tkbutton (tt, text = "3.", width=20, font=fontHeading, command=function () tkdestroy (tt) ) tkgrid(b1) tkgrid(tkla...