Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: GTK+ question

0 views
Skip to first unread message
Message has been deleted

Marshall Lake

unread,
Dec 29, 2009, 12:05:32 PM12/29/09
to
> Some time ago, I was experimenting with GTK but couldn't
> get past a tedious problem. Namely, I wanted to create
> a GUI like this...
>
> It has 2 columns and 3 rows.
> The left column resizes (stretches) when the window is resized.
> The right column remains a fixed width.
> The top row remains a fixed height.
> The 2nd row resizes when the window is resized.
> The 3rd row is a fixed height.
>
> I tried using the table concept but it didn't work,
> and my other attempts using other containers also
> didn't work. GTK always ignored by requests for
> fixed width/height elements.
>
> Is there some trick to doing this?

Without taking the time to investigate I suspect
that is definitely doable. Ask your question on the
GTK mailing list gtk-app-d...@gnome.org (join at
gtk-app-devel...@gnome.org). There are very knowledgable
helpers there.

Rainer Weikusat

unread,
Dec 29, 2009, 12:23:28 PM12/29/09
to
Marshall Lake <fa...@NS.net> writes:
>> Some time ago, I was experimenting with GTK but couldn't
>> get past a tedious problem. Namely, I wanted to create
>> a GUI like this...

[...]

> Without taking the time to investigate I suspect
> that is definitely doable. Ask your question on the
> GTK mailing list gtk-app-d...@gnome.org (join at
> gtk-app-devel...@gnome.org).

If you have nothing to say, why post it to USENET?

Marshall Lake

unread,
Dec 29, 2009, 4:32:07 PM12/29/09
to
>> Without taking the time to investigate I suspect
>> that is definitely doable. Ask your question on the
>> GTK mailing list gtk-app-d...@gnome.org (join at
>> gtk-app-devel...@gnome.org).

> If you have nothing to say, why post it to USENET?

I thought I did say something. However, USENET is just as good as
anywhere else to say nothing.

Jasen Betts

unread,
Dec 30, 2009, 3:43:20 AM12/30/09
to
On 2009-12-29, Qyz <questi...@yahoo.com> wrote:
> Hi all,

>
> Some time ago, I was experimenting with GTK but couldn't
> get past a tedious problem. Namely, I wanted to create
> a GUI like this...
>
> It has 2 columns and 3 rows.
> The left column resizes (stretches) when the window is resized.
> The right column remains a fixed width.
> The top row remains a fixed height.
> The 2nd row resizes when the window is resized.
> The 3rd row is a fixed height.
>
> I tried using the table concept but it didn't work,
> and my other attempts using other containers also
> didn't work. GTK always ignored by requests for
> fixed width/height elements.
>
> Is there some trick to doing this?

It's definately possible. I use the sledgehammer approach:
explicitly setting expand or no-expand for X and Y directions
apropriately on each widget.

stretching is confusing in GTK and I don't fully underastand it.

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

0 new messages