Centering windows as they appear. Another odd question.
- From: Jeff Evarts <jdeassoc earthlink net>
- To: gtk-devel-list redhat com
- Subject: Centering windows as they appear. Another odd question.
- Date: Sat, 03 Apr 1999 17:49:00 -0500
I'm trying to put some polish on a particular application,
and I have a window that I'd like to center on the screen
when it appears. The hitch? I don't know how big it is when
I'm in _new/_init, so I need to do it after the allocation
is done, but before it's realized. Right?
Is there a "best" way to handle this?
The only things I could find in the tutorials didn't cover
variable-sized objects. (Wheelbarrow already knows it's own width)
-Jeff Evarts
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]