[Gtk-sharp-list] How to centre the popup window on screen

Stephen Liu satimis at yahoo.com
Mon Apr 26 23:36:45 EDT 2010


Hi Chris,

Thanks for the link.


I can't resolve "set/get" on
http://go-mono.com/docs/index.aspx?link=P%3aGtk.Window.WindowPosition
public WindowPosition WindowPosition { set; get; }


ON
http://go-mono.com/docs/index.aspx?link=P%3aGtk.Window.WindowPosition

Member Name = None/Center/Mouse/CenterAlways/CenterOnParent

Whether the line is;
public WindowPosition WindowPosition { Center; CenterAlways; }

TIA

B.R.
Stephen





----- Original Message ----
From: Christopher David Howie <me at chrishowie.com>
To: Stephen Liu <satimis at yahoo.com>
Cc: gtk-sharp-list at lists.ximian.com
Sent: Tue, April 27, 2010 11:01:20 AM
Subject: Re: [Gtk-sharp-list] How to centre the popup window on screen

On 04/23/2010 10:18 PM, Stephen Liu wrote:
> Now  I want to the make the window popup on the centre of the screen.  Please advise how to make it.   TIA

It's always a good idea to read the documentation...

<http://go-mono.com/docs/monodoc.ashx?link=P%3aGtk.Window.WindowPosition>

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

PGP key:

pub   2048R/CF8338F5 2010-04-14
      Fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5





More information about the Gtk-sharp-list mailing list