[Glade-devel] [Glade3] Problems with GtkTable
Shane Butler
shane_b@users.sourceforge.net
Mon, 23 Aug 2004 23:36:41 +1000
> Hi Mickael,
>
> To me it seems gtk_table_resize() on line 469 seems to get the right
> values but not actually resize the table!?!
>
> Oh and BTW the values of Min in widgets/gtktable.xml should be 1 not
> 0...
>
> Hope this helps!?
> - Shane
>
> On Mon, 2004-08-23 at 18:13, Cornet Mickael wrote:
> > Hello,
> >
> > I have some problems with Glade3 when I use GtkTable.
> > The default size is 3x3 (rows x columns) but if I set
> > a 1x3 it draws a 3x3. if a set a number of row or
> > column >= 3 there is not problems, but when I set rows
> > <3, the table keep old size of 3x3 and when I set <3
> > columns, Glade 3 crash.
> >
> > I begin to debug it, but I am not familiar with Glade
> > code. When it crash for column < 3, I crash in this
> > function:
> >
> > file: glade-gtk.c
> >
> > 405 void GLADEGTK_API
> > 406 glade_gtk_table_set_n_common (GObject *object,
> > GValue *value, gboolean for_rows)
> >
> > at the line 455
> >
> > 453 /* We need to completely remove it */
> > 454 if (start >= new_size) {
> > 455 gtk_container_remove (GTK_CONTAINER (table),
> > 456 child->widget);
> > 457 continue;
> > 458 }
> >
> > child = 0x0;
> >
> > I'll try to solve it but if someboby can help me (I'm
> > not a glade expert ;o) )
> >
> > Thanks.
> >
> > Mickael
> >
> >
> >
> >
> >
> >
> >
> >
> > Vous manquez despace pour stocker vos mails ?
> > Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
> > Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> >
> > Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
> > _______________________________________________
> > Glade-devel maillist - Glade-devel@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/glade-devel