Tk Library Source Code

View Ticket
Login
Ticket UUID: 947109
Title: font selection dialog up/down bindings
Type: Patch Version: None
Submitter: wilkason Created on: 2004-05-03 17:50:33
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-27 10:31:23
Resolution: None Closed By: dev_null42a
    Closed on: 2006-09-27 03:31:23
Description:
The listbox used to select the font should have the 
following bindings added such that when the up/down 
cursor keys are used in the listbox, the sample font is 
shown in the sample area.

In SelectFont::create procedure, add

        bind $lbf <Up>    $script
        bind $lbf <Down>   $script

after existing bindings

        bind $lbf <ButtonRelease-1> $script
        bind $lbf <space>           $script
        bind $lbf <1>               [list focus %W]
User Comments: dev_null42a added on 2006-09-27 10:29:33:
Logged In: YES 
user_id=1381097

The $lbf listbox also needed these bindings.  Otherwise
patch merged.  Thanks.