Mariano Gaudix wrote:
¿ how I disable expansion ?
I used the sentences .
gtk_widget_set_vexpand (GTK_WIDGET(entry ) , FALSE ) ;
gtk_widget_set_hexpand (GTK_WIDGET(entry ) , FALSE ) ;
But these sentences don't run .
I know those are the new "GTK3" functions, but I still mainly use GTK2.
Try:
gtk_container_add( GTK_CONTAINER( hBox ), entry );
gtk_box_set_child_packing( GTK_BOX( hBox ), entry,
FALSE, TRUE, 0, GTK_PACK_START );
gtk_widget_show( entry );
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list