Re: [gtk-list] Unidentified subject!
- From: Tim Janik <timj gtk org>
- To: Jeff Clement <jclement mindless com>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] Unidentified subject!
- Date: Wed, 8 Jul 1998 12:48:21 +0200 (CEST)
On Tue, 7 Jul 1998, Jeff Clement wrote:
> Hey,
>
> Ok. So I've got a window and I want it centered on the screen. So far I know
> how to retreive the screen dimensions but I don't know how to obtain window
> dimenstion nor set them. I tried the gtk_widget_set_uposition but it didn't
> seem to do anything.
there is built in support for window centering in the GtkWindow widget.
just call
gtk_window_position (window, GTK_WIN_POS_CENTER);
>
> Thanks,
> Jeff
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]