Re: ttk::panedwindow possible enhancements

Liste des GroupesRevenir à cl tcl 
Sujet : Re: ttk::panedwindow possible enhancements
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tcl
Date : 26. Jan 2025, 13:25:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vn59k9$3nill$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
Hi Ashok,
thank you, great. Yes, I am aware of this.
Nevertheless, I would love to have this solved in general, e.g. always having a sash graphic.
Thanks,
Harald
Am 25.01.2025 um 16:13 schrieb Ashok:
Harald,
 You mentioned the Wiki. For (1), did you look at the "Create a Custom Sash Handle bar" section at https://wiki.tcl-lang.org/page/ ttk%3A%3Apanedwindow as well as https://wiki.tcl-lang.org/page/ Custom+sash+handle+for+panedwindow ?
 /Ashok
 On 1/24/2025 4:26 PM, Harald Oehlmann wrote:
Dear Tk experts,
>
please allow me to ask for opinions on the ttk::panedwindow widget.
>
IMHO it may get some love.
>
My main challenges:
>
1) in vista theme, the Sash is invisible. There is just a 3 pixel width line which changes the cursor, if the mouse hoovers over it.
Users may easily overlook it, specially, if the sash is at position 0 or adjacent to another sash.
>
2) if there is a resize by sash drop, I want to get a callback to save the sash position for later restoring.
>
3) if there is a sash drag, I want to control the valid values. For example, always make a part of the window visible (like a tablelist title row).
>
4) I would love to attach additional functionality to the sash, like right click->menu or double-left-click->zoom.
>
I suppose, 2-4 may be solved by exposing the widget name of the sash.
For point 1, I hope magic Csaba may look into it.
>
There are partly solutions on the wiki page, which bind for point 2 and 3 on Button 1 down on the widget. For me, this is more a work- around than a solution.
>
Thanks for all !
Harald
>
 

Date Sujet#  Auteur
24 Jan 25 * ttk::panedwindow possible enhancements5Harald Oehlmann
25 Jan 25 +* Re: ttk::panedwindow possible enhancements2Ashok
26 Jan 25 i`- Re: ttk::panedwindow possible enhancements1Harald Oehlmann
28 Jan 25 `* Re: ttk::panedwindow possible enhancements2Emiliano
30 Jan 25  `- Re: ttk::panedwindow possible enhancements1Harald Oehlmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal