Re: gtk_list_new - deprecated

2003-06-28 Thread Chris Phillips

I had this earlier in the week and Ross was kind enough to add the GtkList 
bindings on the spot. Check ths weeks archives.

On Sat, 28 Jun 2003, Andrew Pierce wrote:

 I am trying to learn some GTK+ programming and I was using gtk_list_new()
 to create a listbox. I was looking up how to clear all the items from the
 listbox and, to my horror ;-), I found the following comment:
 
 gtk_list_new is deprecated and should not be used in newly-written code.
 
 Unfortunately, the documentation did not explain what should be used instead.
 
 How does a boy create a listbox these days?
 
 Thanks.
 Andrew
 
 
 
 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list
 
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


automatically resizing widgets properly

2003-06-22 Thread Chris Phillips

Hi people,

I'm in the middle of porting my gtk app to gtk2, and have been replacing 
set_usize calls to set_size_request, but I'm left thinking that there has 
to be a better way to do this...? the docs talk about the inherent 
duffness of forcing a widget size (i'm using lots of small gtk_entry's and 
want them between 20 and 50px wide as part of a table). Is there any way 
to make them automatically use any available space? if i don't set the 
size of the widget, they naturally come out at full default size, completely 
distorting the main UI.

for example, I have a table like this:

+-++
| --entry-- | toggle |
+-++
| ---entry-- |
+--+

the lower entry is full size, and the toggle will naturally shrink, but i 
then want the top entry to use all the remaining space in that table row.

thanks

chris

http://acidrip.sf.net
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list