Bwidget Source Code
Check-in [52bc26e2bb]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:* combobox.tcl: Removed code that cleared entry selection on focus out events, as this crippled exportselection.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 52bc26e2bb64d81e3900faee844e40c3ae28786f
User & Date: ericm 1999-12-08 15:51:06
Context
1999-12-14
00:43
* buttonbox.tcl: Added a getbuttonstate function, which retrieves the value of a tag used on a button in the buttonbox. check-in: fd83364dae user: ericm tags: trunk
1999-12-08
15:51
* combobox.tcl: Removed code that cleared entry selection on focus out events, as this crippled exportselection. check-in: 52bc26e2bb user: ericm tags: trunk
1999-11-24
02:21
Updated to reflect recent TEA changes check-in: 94c91ea05f user: wart tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7




1999-10-29  Eric Melski  <[email protected]>

	* buttonbox.tcl: Added a gettags function, which allows the user to query
	the tags that are used on buttons in the buttonbox.

1999-10-29  Eric Melski  <[email protected]>

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
1999-12-08  Eric Melski  <[email protected]>

	* combobox.tcl: Removed code that cleared entry selection on focus out 
	events, as this crippled exportselection.

1999-10-29  Eric Melski  <[email protected]>

	* buttonbox.tcl: Added a gettags function, which allows the user to query
	the tags that are used on buttons in the buttonbox.

1999-10-29  Eric Melski  <[email protected]>

Changes to combobox.tcl.

1
2
3
4
5
6
7
8
9
10
11
...
404
405
406
407
408
409
410





411

412
# ------------------------------------------------------------------------------
#  combobox.tcl
#  This file is part of Unifix BWidget Toolkit
#  $Id: combobox.tcl,v 1.2 1999/10/21 17:41:37 sven Exp $
# ------------------------------------------------------------------------------
#  Index of commands:
#     - ComboBox::create
#     - ComboBox::configure
#     - ComboBox::cget
#     - ComboBox::setvalue
#     - ComboBox::getvalue
................................................................................
        if {[info exists background]} {
            $path.e configure -bg $background
            $path.e configure -fg $foreground
            unset background
            unset foreground
        }
    }





    $path.e selection clear

}


|







 







>
>
>
>
>
|
>

1
2
3
4
5
6
7
8
9
10
11
...
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
# ------------------------------------------------------------------------------
#  combobox.tcl
#  This file is part of Unifix BWidget Toolkit
#  $Id: combobox.tcl,v 1.3 1999/12/08 15:51:07 ericm Exp $
# ------------------------------------------------------------------------------
#  Index of commands:
#     - ComboBox::create
#     - ComboBox::configure
#     - ComboBox::cget
#     - ComboBox::setvalue
#     - ComboBox::getvalue
................................................................................
        if {[info exists background]} {
            $path.e configure -bg $background
            $path.e configure -fg $foreground
            unset background
            unset foreground
        }
    }
    # [email protected] It's not clear why you would want to clear selection
    # on a focus out event.  That basically disables -exportselection, which
    # seems like something users might want to do.  This feels like an 
    # application specific, rather than a widget general, behaviour.  Thus, I
    # am removing this behaviour:
    # $path.e selection clear
    # [email protected]
}