Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

panedwindow - proxy?

72 visningar
Hoppa till det första olästa meddelandet

gourin...@gmail.com

oläst,
28 feb. 2018 17:12:592018-02-28
till
In panedwindow widget some optoins and commands are about "proxy", what it means?

Mike Griffiths

oläst,
1 mars 2018 16:06:502018-03-01
till
On Wednesday, 28 February 2018 22:12:59 UTC, gourin...@gmail.com wrote:
> In panedwindow widget some optoins and commands are about "proxy", what it means?

By default, when you click and drag the sash to resize the panes, the resize happens in real-time.

If you set -opaqueresize to 0, it instead shows a 'ghost' version of the sash, to show you where it will be resized to, and the resize doesn't happen until you release the mouse button. The guide line to show where you're dragging the sash to is the proxy.

By default you wouldn't need to use the proxy subcommand, but if you impliment your own custom bindings you may want to.

gourin...@gmail.com

oläst,
2 mars 2018 07:03:352018-03-02
till
thanks you so much for such explanation, after 2 days of making this post and nothing having any response I begin to loose hope, but why it is not explained in Tk Reference Manual, I suggest to add your explanation to it :-)

Harald Oehlmann

oläst,
2 mars 2018 08:30:302018-03-02
till
Am 02.03.2018 um 13:03 schrieb gourin...@gmail.com:
> thanks you so much for such explanation, after 2 days of making this post and nothing having any response I begin to loose hope, but why it is not explained in Tk Reference Manual, I suggest to add your explanation to it :-)
>

At least, it is now here:

http://wiki.tcl.tk/2299

Harald

Rich

oläst,
2 mars 2018 10:43:402018-03-02
till
gourin...@gmail.com wrote:
> thanks you so much for such explanation, after 2 days of making this
> post and nothing having any response I begin to loose hope,

Usenet has a built in latency factor. Several days is not at all
unusual.

> but why it is not explained in Tk Reference Manual,

My best guess, the author of the widget felt it was an internal detail
that most users would have no need to know about. And the thought was
also likely that those needing to know would be skilled enough to dig
into the source and work it out for themselves.

But that is just a guess on my part.

gourin...@gmail.com

oläst,
2 mars 2018 15:22:512018-03-02
till
I sand a message to tcl-core email in which I explained my problem and your solution and I am waitnig their response.
Thanks to all of your help

Mike Griffiths

oläst,
2 mars 2018 15:49:572018-03-02
till
On Friday, 2 March 2018 20:22:51 UTC, gourin...@gmail.com wrote:
> I sand a message to tcl-core email in which I explained my problem and your solution and I am waitnig their response.
> Thanks to all of your help

Just putting the word 'proxy' in the description of the -opaqueresize option would help, yeah. I kind of knew what it from using the widget quite a few years back, but it took me a while to actually find the relevant option.

Francois Vogel

oläst,
11 mars 2018 17:28:132018-03-11
till Mike Griffiths
Le 02/03/2018 à 21:49, Mike Griffiths a écrit :
> Just putting the word 'proxy' in the description of the -opaqueresize option would help, yeah. I kind of knew what it from using the widget quite a few years back, but it took me a while to actually find the relevant option.

Thanks you for your suggestion.

I have fixed this issue (drawing inspiration from your wording), see

https://core.tcl.tk/tk/tktview/3e490c13869

F.

Mike Griffiths

oläst,
12 mars 2018 16:33:522018-03-12
till
Looks good, thanks Francois :)
0 nya meddelanden