Re: alignment question
- From: Matt Goodall <mgg isotek co uk>
- To: gtk-list gnome org
- Cc: Giaslas Georgios <giaslas ceid upatras gr>
- Subject: Re: alignment question
- Date: Mon, 11 Sep 2000 11:37:07 +0100
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:mgg isotek co uk | Claro House, Servia Road
http://www.isotek.co.uk | Leeds, LS7 1NL
Tel: +44 113 234320 | England
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]