Jens Mueller <jens.k.muel...@gmx.de> wrote:
(03/04/2011 10:11)

>Show() works but I need full screen. It seems that ShowFullScreen() is
>not supposed to work on Linux (wxcore_appframe.i has %win in front of
>ShowFullScreen). But I found some posts where it was used on Linux.

If it does get awkward, doing it in wxLua code might be ok, if not so tidy. Set 
the frame style to 0 instead of wx.wxDEFAULT_FRAME_STYLE, then later use 
FRAME:Move(0,0)  FRAME:SetSize(wx.wxDisplaySize())  FRAME:Show(true). This 
might be enough if you don't want to alternate between full screen and windowed 
display.

I don't think the style can be set after frame creation, and compensating for 
sizes of side bars and setting client area and position to match full screen 
area makes this workround become unfeasible. Even in the simplest form, it 
leaves you having to write your own code to do basic things the frame styles 
normally allow, like closing the program with the mouse, etc... Not a problem 
if you were going to do that anyway though.


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to