Re: GtkBox packing
- From: Owen Taylor <otaylor redhat com>
- To: Martin Klaffenboeck <martin klaffenboeck gmx at>
- Cc: GTK+ app devel list <gtk-app-devel-list gnome org>
- Subject: Re: GtkBox packing
- Date: 05 Jun 2003 07:30:16 -0400
On Thu, 2003-06-05 at 06:43, Martin Klaffenboeck wrote:
Am 2003.06.05 04:06 schrieb(en) Owen Taylor:
On Wed, 2003-06-04 at 16:49, Martin Klaffenboeck wrote:
Hello,
When I have a vbox, is it possible to pack some widgets more right
than
others?
means:
-------------
Headerlabel
-------------
item1
-------------
item2
-------------
So that we can see a hierarchy?
Use a hbox and pack a dummy empty widget into the first location (say
another hbox) and set it's width with gtk_widget_set_size_request()
Hm. Looks more like a workarround than a solution.
I wouldn't say so .... would it seem like a workaround if we had a
gtk_spacer_new (gint width, gint height) ?
Well, you can write my_spacer_new() in two lines with gtk_hbox_new(),
gtk_widget_widget_set_size_request(), so having a separate widget
for that would be a bit silly.
In GTK+-2.4, GtkAlignment will have the ability to set padding
independently on all 4 sides, which make such arrangements easier
to accomplish.
My app will need some work, the first beta releases will come out in
about 2 Months, the finish release in about a year or something.
When will gtk-2.4 come out? Maybe I just set a comment there for now.
(I'm working with 2.3 developer release.)
I can't give an exact date ("when it's ready"), but we're hoping well
before the end of this year.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]