mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Raise .opts when font chooser is dismissed.
This commit is contained in:
@@ -5158,6 +5158,15 @@ proc balloon_calculate_geometry { w } {
|
||||
return "+$tx+$ty"
|
||||
}
|
||||
|
||||
bind . <<TkFontchooserVisibility>> [list fontchooservisibility]
|
||||
|
||||
proc fontchooservisibility {} {
|
||||
if {[tk fontchooser configure -visible]} {
|
||||
return
|
||||
}
|
||||
catch { raise .opt }
|
||||
}
|
||||
|
||||
proc ChooseCalboxFont {} {
|
||||
tk fontchooser show
|
||||
tk fontchooser configure -font [font actual CalboxFont]
|
||||
|
||||
Reference in New Issue
Block a user