From: <no...@tc...> - 2025-08-05 15:18:15
|
Automated mail by fx, on behalf of no...@tc... Ticket Change [d486463f494260c20540d7d41f31615d4f87e447f5a5253fcdc00e1faa388602] [Unknown options error for ProgressDlg and PasswdDlg] By anonymous For BWidget On 2025-08-05T15:13:55.789 Details https://core.tcl-lang.org/bwidget/tinfo?name=d486463f494260c20540d7d41f31615d4f87e447f5a5253fcdc00e1faa388602 Ticket https://core.tcl-lang.org/bwidget/tktview/378209fe023935a5308af7e6a345ab945bc36202 Changed Fields icomment: Hello Harald, yes, my proposal was only a quick-and-dirty-solution and You was right to stop it. Please revert/delete the commit. I go very deep inside BWidget and think to know the right way now. First, the constructs with "#<classname>" is mainly for widgets from old 1.9.x BWidget, which construct and divide with it their data-arrays in global level/namespace. (Sorry, my proposal comes from my old ActiveTcl 8.6.4.1.) New version 1.10.x use other algorithms, own namespaces, and there inside data-arrays for each widget instance. Second, both widgets *LEFT* a call to "Widget::init". They only do a "Widget::initFromODB", which is not enough. This is the part, why we do not get all data structures and proc's up, and no checks of parameters and values. By the way, the "init" does much more than "initFromODB". So we should *ADD* it just before "initFromODB", to get the priority default-value -> ODB-value -> parameter-value (-> this is used). The same is for the new Calendar proposal (I send it separate)! Hope, this helps to fix all BWidgets version 1.10.x. Best greetings to You, Thomas W. login: anonymous username: TWu ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |