Re: get size of widget before first draw
- From: Steve & Patti Getzinger <steveandpatti wubs org>
- To: Rolf Schäuble <rolf_schaeuble web de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: get size of widget before first draw
- Date: Mon, 11 Jun 2001 15:34:29 -0500
What about creating the widget and before showing it realizing it. Then
get it's size and do what you need to do and show it.
Steve
Rolf Schäuble wrote:
Hi.
I have to know how big a widget will be before it is drawn the first time. I need this to set its position
to the middle of the screen. If I ask for its size after creating it, i get some 20x22 size. If I check its
size after the first draw event, I get a reasonable size. Is there any way to get this before it's drawn,
so I can set its position without the user being able to see the movement of the widget?
Thank for your time and help
Rolf Schaeuble
_______________________________________________________________________________
Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE: http://web.de
Die große Welt der Kommunikation: E-Mail, Fax, SMS, WAP: http://freemail.web.de
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]