Re: GtkFixed
- From: Tristan Van Berkom <tvb gnome org>
- To: Christophe HAUSER <kereoz yahoo fr>
- Cc: gtk-list gnome org
- Subject: Re: GtkFixed
- Date: Wed, 14 Jun 2006 14:01:31 -0400
Christophe HAUSER wrote:
Hello,
I've got a problem using GtkFixed.
Using the following code, the window is empty when I
launch the app.
fixed = gtk_fixed_new();
Moz = gtk_moz_embed_new();
gtk_container_add (GTK_CONTAINER (window), fixed);
gtk_fixed_put(GTK_FIXED(fixed), Moz,0,0);
gtk_moz_embed_load_url(GTK_MOZ_EMBED(Moz),"about:");
gtk_widget_show_all(window);
Hmmm, looks like you have a fixed child with width/height = 0;
try setting the size-request, since fixed doesnt allocate any size
that you dont request.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]