Re: Two problems with widget placement
- From: Bob Caryl <bob fis-cal com>
- To: Tomas Mecir <mecirt yahoo com>
- Cc: GTK Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: Two problems with widget placement
- Date: Fri, 21 Jan 2005 11:32:51 -0600
Answer to the first question: use GtkTable object to allocate the space
in the vertical box the way you want.
Answer to question two: use gtk_scrolled_window_new to create a couple
of scrollable container widgets for your tree views and then drop those
containers into the GtkTable and then drop it into your vertical box.
Hope this helps... I am using only one tree view in my app, along with
several other controls and the table object was very handy for
formatting it.
Bob Caryl
On Fri, 2005-01-21 at 11:18, Tomas Mecir wrote:
Hi everyone !
Thank you for helping with my previous problem - works
well now.
Now I'm getting some very weird results regarding
widget placement...
I have two GtkTextView-s in a GtkVBox, and the whole
thing is attached to a scrollbar using a GtkHBox.
Now, my problems are as follows:
1. Those two GtkTextView-s have the same size, but I'd
like one of them to occupy 3/4s of the space, the
other one 1/4 of the space. The size hints seem to
operate in some different way (at least according to
trying them in glade).
2. The GtkTextView-s resize themselves, so that all
their text fits inside (without scrolling). This is
bad, as I end up with a HUGE window. How to force them
not to resize the main application window ?
Thanks,
/ Tomas
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]