GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFixed' while generating a dynamic GUI

2005-01-10 Thread anne isac
Hi I'm new to Gtk. I'm trying to create a screen dynamically. The screen is to have frame with labels and comboboxes the number of witch is only known at run time. My GtkFrame has a GtkFixed widget on to witch I place the GtkLabel and GtkComboBox. when I execute the program some of the labels and

Re: GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFixed' while generating a dynamic GUI

2005-01-10 Thread David Necas (Yeti)
On Mon, Jan 10, 2005 at 05:29:07AM -0500, anne isac wrote: > I'm new to Gtk. > I'm trying to create a screen dynamically. > The screen is to have frame with labels and comboboxes the number of witch is > only known at run time. First of all, you should use a GtkTable. Widgets placed at fixed pos

Re: GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFixed' while generating a dynamic GUI

2005-01-10 Thread anne isac
ut (GTK_FIXED (fixed30), dynamicFrame[d], 5, l);  gtk_widget_set_size_request (dynamicFrame[d], 450, j);  l = l + j + 5;    }- Original Message - From: "David Necas (Yeti)" <[EMAIL PROTECTED]>To: "anne isac" <[EMAIL PROTECTED]>Subject: Re: GLib-GObject-WARNING **:

Re: GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFixed' while generating a dynamic GUI

2005-01-10 Thread David Necas (Yeti)
Please don't top-post. On Mon, Jan 10, 2005 at 07:03:04AM -0500, anne isac wrote: > Here is the code for dynamicFrame[]. If the arrays are not messed up (i.e., they are allocated with correct sizes and you don't write after their ends), dynamicFrame[] should be OK. But I see another GTK_FIXED(

Re: GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFixed' while generating a dynamic GUI

2005-01-11 Thread anne isac
Hi, I user GtkTable insted of GtkFixed and my problem is solved :o) Thanx a lot. Regards, Anne -- ___Sign-up for Ads Free at Mail.com http://www.mail.com/?sr=signup ___ gtk-list mailing list gtk-li