Bwidget Source Code
View Ticket
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.
Ticket UUID: 12ccbbbdd976f7066023475f8c57f000b863f756
Title: ::Widget::setoption does change the modification status
Type: Bug Version: 1.9.10
Submitter: adrianmedranocalvo Created on: 2016-07-18 09:16:38
Subsystem: bwidget Assigned To: nobody
Priority: 5 Medium Severity: Severe
Status: Open Last Modified: 2016-07-20 14:37:05
Resolution: None Closed By: nobody
    Closed on:
Description:
::Widget::setoption is documented as the way to set the value of a megawidget option bypassing all the declare/include/changes stuff, but it is currently defined as an alias to ::Widget::configure, so that is not the case.

In my opinion it should be either deprecated and have its current behaviour documented or corrected it to perform as specified.
User Comments: adrianmedranocalvo (claiming to be Adrián Medraño Calvo <[email protected]>) added on 2016-07-20 14:37:05:
I'll take care of it, but will take a couple of weeks.  The ability to set an option without marking as modified seems useful, especially for megawidget's *::create function.  In any case, the modification flag can be cleared by invoking Widget::hasChanges.

oehhar added on 2016-07-18 09:21:19:

I favor to documentation change.

Can you make the Documentation change ? Just edit the html file.

Thanks, Harald