Re: GtkFixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux