Tk Library Source Code

View Ticket
Login
Ticket UUID: 867604
Title: Problem with focus and spinbox
Type: Bug Version: None
Submitter: nobody Created on: 2003-12-30 11:45:50
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-01-06 14:24:16
Resolution: None Closed By: damonc
    Closed on: 2004-01-06 07:24:16
Description:

If trying the following code:

package require BWidget
pack [spinbox .b1]
pack [spinbox .b2]
.b1 insert end hello
.b2 insert end hello

and using the <Tab> key, content in the spinbox is not
selected.

Solutions seems to add:

bind Spinbox <<TraverseIn>> [bind Entry 
<<TraverseIn>>]

in file init.tcl
User Comments: damonc added on 2004-01-06 14:24:16:
Logged In: YES 
user_id=50387

Fixed and committed.  Thanks for hunting down the problem
and solution. 0-]

nobody added on 2003-12-30 18:53:45:
Logged In: NO 

It seems that there are problems entering text in 
sourceforge. Contents inside <> seems to dessapear.

The correct line to include in init.tcl is something like:

bind Spinbox <<TraverseIn>>  [bind Entry  
<<TraverseIn>>]"

nobody added on 2003-12-30 18:48:53:
Logged In: NO 

It seems that there are problems entering text in 
sourceforge. Contents inside <<>> seems to dessapear.

The correct line to include in init.tcl is something like:

"bind Spinbox <<TraverseIn>> [bind Entry  <<TraverseIn>>]"