Skip to main content

Thread: GtkSocket won't show in a GtkFixed


i'm on ubuntu 10.04 filesys, on marvell arm cpu. kernel 2.6.32.9.

gtkwidget *fixed = gtk_fixed_new ();
gtk_widget_show( fixed );
socket = gtk_socket_new();
#if 1
// line lets code work
gtk_container_add( gtk_container( window ), socket );
#else
// line, fails show contents of socket
gtk_fixed_put( gtk_fixed( fixed ), socket, 0, 0 );
#endif
gtk_widget_show( socket );

need use (non-working) gtk_fixed_put scheme, since need add multiple widgets window. getting gtk critical error gtk_fixed_put li\
ne: assertion gtk_is_anchored (socket) failed.

can tell me why gtk_fixed_put failing, when gtk_container_add works?

ideas,
-michael



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk GtkSocket won't show in a GtkFixed


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?