From: Keiichi T. <bi...@ny...> - 2000-09-06 06:05:14
|
Hi, Laurent, > > I've tested new underline sequence with the patch you sent and also modified it > > according to Scott's comment.. > > What do you mean "modified"? Sorry for confusion. I modified in generic/tkButton.c after patched the file you gave. This is accoding to the mail from Scott: ------- > This code seems to be confused. You should replace the code above with: > > Tcl_IncrRefCount(valuePtr); > Tcl_DecrRefCount(butPtr->textPtr); > butPtr->textPtr = valuePtr; > ButtonComputeUnderline(butPtr); ------- > Wonderful! > > FYI, I've started modifying the message file to use this. I'm also removing > all -underline stuff in the dialogs. If Real Work doesn't get in the way, it > should all be ready tomorrow. I'm still having a problem with using {\_} in a > regexp but I'm hoping that can be fixed soon. > Let me confirm that this patch affect only on Button's underline sequense. Is this true? It would be great if underline on entry of Menu and Menubutton bahave same as Button's. Currently they don't work. Keiichi -- Keiichi Takahashi, bitWalk Co.,Ltd. mailto:bi...@ny... http://members.xoom.com/tcltk/index.html -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |