Page 1 of 1

Four-split window

Posted: Sun Feb 18, 2007 9:47 pm
by Inestical
Hello,

I would like to achieve 'perfect' 4-split window, do I have to use three wxSplitterWindow's and update one when second is updated?

I'm asking; is there any 'easier' way to achieve this?

edit:
I've looked up some information (with no success) and it seems there isn't any other choice.. I haven't tried this yet, since I'm working on some other stuff.

Or is there?

Thanks in advance

Posted: Sun Feb 18, 2007 10:44 pm
by FlyingIsFun1217
Well, for splitting windows, you could go down the path using splitters, which would most likely be your best way of doing it. Or you could use panels and sizers (like I did in a program of mine).

Again, the splitter window would probably be the easiest, but if you are interested in using panels (so that your user cannot resize the splitter, etc.), check out my forum post.

FlyingIsFun1217

Re: Four-split window

Posted: Mon Feb 19, 2007 12:24 am
by Auria
Inestical wrote:Hello,

I would like to achieve 'perfect' 4-split window, do I have to use three wxSplitterWindow's and update one when second is updated?

I'm asking; is there any 'easier' way to achieve this?

edit:
I've looked up some information (with no success) and it seems there isn't any other choice.. I haven't tried this yet, since I'm working on some other stuff.

Or is there?

Thanks in advance
if it'S going to be resizable by user, splitters are probably your best bet

Re: Four-split window

Posted: Mon Feb 19, 2007 3:15 am
by FlyingIsFun1217
Auria wrote:if it'S going to be resizable by user, splitters are probably your best bet
No doubt. They will be the absolute EASIEST thing to use.

If you intended that you didn't want them resized (I assumed when you said 'perfect 4-split window'), then splitters might not be the easiest thing to work with, as there is no (known to me) way to stop resizing of a splitter. :(

Hope you understand a little better now. :)

FlyingIsFun1217

Posted: Mon Feb 19, 2007 6:38 am
by tan
Hi,
what about wxAUI?

Posted: Mon Feb 19, 2007 8:13 pm
by Inestical
So, to put it short:

No, there is no easier method (such as wx4SplitterWindow) and you might like to consider sizers and wxAUI (advanced user interface).

I'll get on this as I get other stuff before this. Just curious. Anyways, I think I'll check out wxSizerPane and wxAUI as I get to set up edit windows.

Arigat

Posted: Mon Feb 26, 2007 11:29 am
by Infinity_77
So, to put it short:

No, there is no easier method (such as wx4SplitterWindow) and you might like to consider sizers and wxAUI (advanced user interface).

I'll get on this as I get other stuff before this. Just curious. Anyways, I think I'll check out wxSizerPane and wxAUI as I get to set up edit windows
There is an implementation of a 4-way splitter window I made. Obviously, it's for wxPython, but I believe you could easily translate it to wxWidgets:

http://xoomer.alice.it/infinity77/eng/f ... aysplitter

wxPython rules :-D

Andrea.