Bwidget Source Code
View Ticket
Not logged in
Ticket UUID: 774319a602516ba8cb8256df5858ef74051004d1
Title: ComboBox selection method not routed
Type: Bug Version: 1.9.10
Submitter: oehhar Created on: 2019-03-05 18:51:09
Subsystem: bwidget 1.x Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2019-03-05 18:51:09
Resolution: None Closed By: nobody
    Closed on:
Description: (text/x-fossil-wiki)
Setting the selection of an editable combobox ends in an error:

<verbatim>
% pack [ComboBox .c -editable 1 -values "A B C"]
% .c selection range 0 end
invalid command name "::ComboBox::selection"
</verbatim>

If one knows the path of the embedded entry widget, one may use:

<verbatim>
% .c.e selection range 0 end
</verbatim>