Re: [racket-users] Is there a widget like QSplitter in Qt in our GUI library?

2021-03-31 Thread 'Killian Zhuo (KDr2)' via Racket Users
Thank you Laurent, that's exactly what I want!

 Greetings.

Killian Zhuo (KDr2, https://kdr2.com)

 

On Wednesday, March 31, 2021, 05:05:39 PM GMT+8, Laurent 
 wrote:  
 
 You probably want panel:vertical-dragable% [1] and panel:horizontal-dragable%. 
See a usage example here: 
https://gist.github.com/Metaxal/946aa17033c10e76c48a74127ae0b11b
[1] 
https://docs.racket-lang.org/framework/Panel.html?q=panel%3Avertical-dragable#%28def._%28%28lib._framework%2Fmain..rkt%29._panel~3avertical-dragable~25%29%29


On Wed, Mar 31, 2021 at 9:08 AM 'Killian Zhuo (KDr2)' via Racket Users 
 wrote:

I want to split a pane into two columns and make the columns resizable by 
dragging their joint border, in Qt, there's an established widget called 
QSplitter for this purpose. Is there one in Racket's GUI library? or how to 
implement it in the easiest way?
Thanks.
Greetings.

Killian Zhuo (KDr2, https://kdr2.com)



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1465030713.1289147.1617178095348%40mail.yahoo.com.



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaFnzCuaYXmAYQez%2BoMvXr34KQZsaP58kDBXLEmv5qLrRQ%40mail.gmail.com.
  

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/571494630.1360477.1617203926593%40mail.yahoo.com.


Re: [racket-users] Is there a widget like QSplitter in Qt in our GUI library?

2021-03-31 Thread Laurent
You probably want panel:vertical-dragable% [1] and
panel:horizontal-dragable%. See a usage example here:
https://gist.github.com/Metaxal/946aa17033c10e76c48a74127ae0b11b

[1]
https://docs.racket-lang.org/framework/Panel.html?q=panel%3Avertical-dragable#%28def._%28%28lib._framework%2Fmain..rkt%29._panel~3avertical-dragable~25%29%29


On Wed, Mar 31, 2021 at 9:08 AM 'Killian Zhuo (KDr2)' via Racket Users <
racket-users@googlegroups.com> wrote:

> I want to split a pane into two columns and make the columns resizable by
> dragging their joint border, in Qt, there's an established widget called
> QSplitter for this purpose. Is there one in Racket's GUI library? or how to
> implement it in the easiest way?
>
> Thanks.
>
> Greetings.
>
> Killian Zhuo (KDr2, https://kdr2.com)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/1465030713.1289147.1617178095348%40mail.yahoo.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaFnzCuaYXmAYQez%2BoMvXr34KQZsaP58kDBXLEmv5qLrRQ%40mail.gmail.com.


[racket-users] Is there a widget like QSplitter in Qt in our GUI library?

2021-03-31 Thread 'Killian Zhuo (KDr2)' via Racket Users
I want to split a pane into two columns and make the columns resizable by 
dragging their joint border, in Qt, there's an established widget called 
QSplitter for this purpose. Is there one in Racket's GUI library? or how to 
implement it in the easiest way?
Thanks.
Greetings.

Killian Zhuo (KDr2, https://kdr2.com)

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1465030713.1289147.1617178095348%40mail.yahoo.com.