Hi, I have to display frames (all the items in the frame are "packed" with the option -expand on) and I need that they have the same size. I've tried with a grid layout giving to my frames the same rowspan/columnspan but the frames don't fill all the available space.
How can I do?
I want to make a menubutton which display the name of the menu items selected I ve written :
set mylist [list BAGA DOLE FIAGAR GRASS GRENO LESIM LIMOG MONTP PALMA VENTO]
set myMenuButton [menubutton .myMenuButton -menu .myMenuButton.myMenu -textvariable buttonName]
set buttonName [lindex...
hi i'm trying to be able to change the font style of my button i've done:
checkbutton .myButton -bg $Grey -foreground $Black -font {Courier 12} -text Text -selectcolor $Black -indicatoron 0 -command {
if {[ .myButton cget -foreground] == $Black} {
.myButton configure...
i'm trying to make a button where font color and background color exchage whether it is selected or not. I'm trying whith a checkbutton but there is no simple way to change the foreground
checkbutton .chkbutton -bg $color1 -foreground $color2 -font {Courier 12} -text T -selectcolor...
i'm making button with icons and when i try
image create photo imgleft -file [file join . arrows leftArrow.bmp]
i've the error :
couldn't recognize data in image file "./arrows/leftArrow.bmp"
whereas if i write :
image create photo imgleft -file [file join . arrows leftArrow.gif]
(both...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.