dannym wrote:
> Hi,
>
> Am Montag, den 19.09.2005, 08:53 +0200 schrieb Bogus�aw Brandys:
>
>>Hello,
>>
>>In windows (Windows XP Home) Lazarus I can put :
>>
>>Form1.BorderStyle := bsNone;
>>Form1.WindowState := wsMaximized;
>>
>>and form is pretty maximized using all screen.
>>
>>How to get the same under GTK2 ? It should be possible because Firefox
>>can do it (F11 key)
>
>
> If I understand you correctly, you mean what is called "fullscreen
> mode". This is when there are no windows, but the app has the whole
> screen.
>
> Set the fullscreen hint ("_NET_WM_STATE" / "_NET_WM_STATE_FULLSCREEN",
> http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html) for the
> windowmanager, or else another app might steal focus / get in the way.
>
> In gtk2, there is the function "gtk_window_fullscreen" which tries to
> make the window content fullscreen (and "gtk_window_unfullscreen", to
> take that back).
>
> searching for that in lazarus has produced zero matches, so I guess it
> is not used yet (i.e. no property in TForm or something yet - if that
> even were useful, not sure.)
Should be some method maybe called Maximize(Full : Boolean) ?
Regards
Boguslaw
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives