From: "Nicolas Cannasse" <warplayer@free.fr>
To: "Kontra, Gergely" <kgergely@mlabdial.hit.bme.hu>,
"OCaml" <caml-list@inria.fr>
Subject: Re: [Caml-list] Osiris - gtk
Date: Wed, 28 Aug 2002 15:48:10 +0200 [thread overview]
Message-ID: <002101c24e99$8c3c7390$0700a8c0@warp> (raw)
In-Reply-To: <Pine.LNX.4.21.0208281324320.4072-100000@mlabdial.hit.bme.hu>
> And I don't know much about geometry management.
> It seems it has some border-layout like management, but it is not so
> simple to use. I think a single wrapper, which behaves like HPanel and
> VPanel in gtk will be nice. I also wonder if I can do split-panes.
Automatic split bars are not yet implemented.
They're on my todo-list
> Some sort of automatic placement will be fine. Configure, that all
> elements in a container vill be top aligned. (=VPanel)
> The last thing I miss is to enable auto-fill an element. (AlClient is
> for that purpose?)
yes
try to work with the "#align" calls in order to align compents
left/top/right/bottom/client & center are allowed ).
you can also use #span & #space on the containers ( windows, panels ).
This let Osiris handle all the resize / positionning of the components,
especially when resizing the window or adding new elements.
> For example how can I achieve a simple layout like this: (rolodex
> (sorry, don't know the correct spelling)
> And, if it is possible, how to have a labelled border around each row,
> like this
>
> +-borderlabel----------+
> | |
> | Element in the pane |
> | |
> +----------------------+
>
Labeled border are also not part of the API.
when you wanna have several " label : <edit> " lines you can simply create a
panel for each line ( setting #border to BdNone to hide the layout ) and
adding both the label & the edit with #align AlLeft.
Nicolas Cannasse
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-08-28 13:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <002301c24d25$43ad8850$0700a8c0@warp>
2002-08-27 13:15 ` Kontra, Gergely
2002-08-27 13:54 ` Nicolas Cannasse
2002-08-27 14:50 ` Kontra, Gergely
2002-08-27 17:06 ` Nicolas Cannasse
2002-08-28 11:42 ` Kontra, Gergely
2002-08-28 13:48 ` Nicolas Cannasse [this message]
2002-09-02 10:07 ` Kontra, Gergely
2002-08-16 15:57 Kontra, Gergely
2002-08-16 16:35 ` Nicolas Cannasse
2002-08-16 18:01 ` Kontra, Gergely
2002-08-16 19:10 ` Nicolas Cannasse
2002-08-26 15:43 ` Kontra, Gergely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002101c24e99$8c3c7390$0700a8c0@warp' \
--to=warplayer@free.fr \
--cc=caml-list@inria.fr \
--cc=kgergely@mlabdial.hit.bme.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox