RE: 2.4 features - Indenting container
- From: Murray Cumming Comneon com
- To: otaylor redhat com
- Cc: gtk-devel-list gnome org
- Subject: RE: 2.4 features - Indenting container
- Date: Thu, 13 Mar 2003 16:05:45 +0100
> From: Owen Taylor [mailto:otaylor redhat com]
> On Thu, 2003-03-13 at 04:22, Murray Cumming Comneon com wrote:
> > So, does any one agree/disagree that this is a good idea?
>
> Sorry to be lazy, but can you summarize exactly what "this" is?
A container for right, left, top, and/or bottom "indentation" or padding.
With one child widget.
Actually this sounds so simple that I might even try to implement it myself
if nobody else does.
> The only API proposal I remember seeing was a proposal for
> a separate container widget that allowed for padding on
> exactly one side of it's child.
>
> This didn't seem like a great idea to me ... it's a little
> clunky to have to nest containers if you need padding on two
> sides, and I don't see a need for a new container type.
>
> Something like:
>
> gtk_alignment_set_padding (left, right, top, bottom)
Yes. Are you suggesting that it should be part of GtkAligment instead of a
new widget?
Actually, that's Gregory Merchan has already implemented:
http://mail.gnome.org/archives/gtk-devel-list/2002-December/msg00090.html
I think a new widget might be more appropriate, but it doesn't bother me
greatly as long as we have one or the other.
> (Corresponding to four separate properties) would seem
> better to me.
Yes, that's what I meant. I guess the name "indenting" wouldn't be so good.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]