|
From: Csaba N. <csa...@t-...> - 2025-09-10 12:24:54
|
That would make it necessary to add a "cargo" subcommand to the ensemble
of the tk subcommands. This subcommand would then have to execute the
Tcl procedure. IMHO, this is not worth the trouble. In addition, I am
not sure that "tk cargo" would be better then "tk_cargo". According to
the tk man page,
"... Most of the information manipulated by this command pertains
to the application as a whole, or to a screen or display, rather
than to
a particular window. ..."
Am 10.09.25 um 12:07 schrieb Kevin Walzer:
> You could also do “tk cargo,” like “tk busy” or “tk print.”
>
>> On Sep 10, 2025, at 4:15 AM, Csaba Nemethi <csa...@t-...> wrote:
>>
>> Hi Harald,
>>
>> I will return soon to your comments concerning the third-party themes.
>>
>> Why tk_cargo rather than tk::cargo? We have tk_dialog, tk_messageBox, tk_optionMenu, tk_popup, tk_setPalette, etc. rather than tk::dialog, tk::messageBox, tk::optionMenu, etc. (to mention just a few Tk core procs). I share your opinion that tk::cargo would be nicer, but OTOH it would break the tradition. :-)
>>
>> Best regards,
>>
>> Csaba
>>
>>
>>> Am 09.09.25 um 21:30 schrieb Harald Oehlmann:
>>> Hi Csaba,
>>> I would prefer, that anything concerning other themes go to this theme and not to the core.
>>> I would also love to get awdark and awlight to the tcl-depot repository, as they are unmaintained, but so useful.
>>> Can the droid stuff go to the androwish repository?
>>> Thanks for all,
>>> Harald
>>> ---
>>> And thanks for tk_cargo, great ! Great Tip.
>>> May the command name not be named tk::cargo ?
>>> Thanks for all,
>>> Harald
>>>> Am 09.09.2025 um 13:37 schrieb Csaba Nemethi:
>>>> Update: Before starting the CFV for TIP 727 ("Add a ttk::toggleswitch widget to the core"), I would much appreciate if we could decide which themes should/may be _explicitly_ supported by the ttk::toggleswitch command.
>>>>
>>>> Currently the implementation creates the trough and slider elements when needed not only for the built-in themes, but also for droid (which is the default theme in AndroWish), plastik (which droid is derived from), awarc, awbreeze, awbreezedark, awlight, and awdark. Any other theme will import these elements from the "default" theme (or a dark variant of it), or the application can add explicit support for it by providing an appropriate command of the name ttk::toggleswitch::CreateElements_<theme>.
>>>>
>>>> Since the TIP proposes to add a new widget _to the core_, I am not sure whether it is OK if the implementation provides _explicit_ support for all these third-party themes.
>>>>
>>>> In case we decide to make the above list of themes smaller, my personal proposal would be to keep the explicit support for the themes droid, awlight, and awdark. Rationale: droid is the default in AndroWish, and awlight and awdark seem to be the most popular themes of the awthemes package. The plastik theme has the drawback that it is not scalable, while awarc, awbreeze, and awbreezedark have a suboptimal performance.
>>>>
>>>> Any feedback (not only from TCT members) is highly appreciated.
>>>>
>>>> Best regards,
>>>>
>>>> Csaba
>>>>
>>>>
>>>> Am 08.09.25 um 14:55 schrieb Csaba Nemethi:
>>>>> Hi Harald,
>>>>>
>>>>> I, too, think that the opinion of a few Tk wizards would be important and highly welcomed. In the next step we could then call for vote.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Csaba
>>>>>
>>>>>
>>>>> Am 08.09.25 um 14:08 schrieb Harald Oehlmann:
>>>>>> Dear Tk team, dear Csaba,
>>>>>>
>>>>>> TIP 727
>>>>>> https://core.tcl-lang.org/tips/doc/trunk/tip/727.md
>>>>>> introduces the new widget "ttk::toggleswitch".
>>>>>> For me, this is a great improvement.
>>>>>> Csaba has developped this IMHO to a mature state.
>>>>>>
>>>>>> Now, Csaba continues with the next project from the conference, the "cargo" possibility, that each tk widget may have a variable store.
>>>>>>
>>>>>> Csaba, if you intend to call the vote of 727, I am ready to sponsor.
>>>>>> Unfortunately, I will be offline from next Saturday until 2025-10-07.
>>>>>>
>>>>>> Please ping me, if I can don anything this week.
>>>>>> I am on travel but still reachable.
>>>>>> I would love a 2nd tk Wizard opinion on the TIP and implementation like Mark, Brian, Francois or Kevin.
>>>>>>
>>>>>> Thanks for all the action, we all highly appreciate!
>>>>>>
>>>>>> Take care,
>>>>>> Harald
>>>>>>
>>> _______________________________________________
>>> Tcl-Core mailing list
>>> Tcl...@li...
>>> https://lists.sourceforge.net/lists/listinfo/tcl-core
>>
>> --
>> Csaba Nemethi https://www.nemethi.de mailto:csa...@t-...
>>
>>
>>
>> _______________________________________________
>> Tcl-Core mailing list
>> Tcl...@li...
>> https://lists.sourceforge.net/lists/listinfo/tcl-core
--
Csaba Nemethi https://www.nemethi.de mailto:csa...@t-...
|