Prev: ISO: ideas for creating a more consistent user experience wthcopy and paste in Tk
Next: Problem with switch command
From: Harald Oehlmann on 22 Jun 2010 03:58 Hello List, Create a font with size 8: font create Custom -size 8 And use it in a widget, for example the BWidget NoteBook or the tablelist widget: NoteBook -font Custom Now change the font size: font configure Custom -size 17 All standard widgets automatically change size. But those composite widgets which use Canvas drawing (BWidget notebook tabs) or the text widget (tablelist) do not resize properly. How is it possible to detect a font reconfiguration by a megawidget so it may adjust any dependent visual items? E.G. is there any code like bind <Configure> Script to get informed about a font (size) change ? Thank you for any ideas, Harald |