Giaslas Georgios wrote:
>
> hi,
> i'd like to ask you can i set the alignment for a widget (except
> gtklabel) which is packed into a gtktable.
> if the widget is a gtklabel the alignment is set with
> gtk_misc_set_alignment, but for other widgets i don't know how to set it.
Add the widget to a GtkAlignment and add the GtkAlignment to the table
cell. Any widget can be added to a GtkAlignment including single widgets
and other containers.
> also, i have asked another question about a problem while updating a
> drawing area in a multithreaded programm.please reply if you can.
Have you read the gtk faq, section 5.2, at www.gtk.org? Sometimes you
need to call gdk_flush() from the non-mainloop thread before leaving the
gtk thread critical section.
Hope this helps.
/Matt
--
Matt Goodall, Software Engineer | Isotek Electronics Ltd
mailto:[EMAIL PROTECTED] | Claro House, Servia Road
http://www.isotek.co.uk | Leeds, LS7 1NL
Tel: +44 113 234320 | England
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list