On Thu, 17 Aug 2006, Mattias wrote:

On Tue, 15 Aug 2006 13:19:51 -0400
Andrew Haines <[EMAIL PROTECTED]> wrote:

Form2X11Window

Thanks.
I added those functions to gtkproc.pp:

procedure SetWindowFullScreen(AForm: TCustomForm; const AValue: Boolean);
procedure GrabKeyBoardToForm(AForm: TCustomForm);
procedure ReleaseKeyBoardFromForm(AForm: TCustomForm);
procedure GrabMouseToForm(AForm: TCustomForm);
procedure ReleaseMouseFromForm(AForm: TCustomForm);

function FormToX11Window(const AForm: TCustomForm): X.TWindow;


Now we need some nice function names for the LCL.
In some sense fullscreen is a windowstate. So maybe we should add it
'wsFullScreen' to TWindowState. OTOH a fullscreen is just a
special wsMaximized, so a FullScreen boolean property might be better.
Comments?

Why not make it a FormStyle ? I find that more in keeping with fsStayOnTop.

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to