Re: [Fxruby-users] switch to full screen mode
Status: Inactive
Brought to you by:
lyle
From: Simon S. <ne...@ad...> - 2004-05-24 14:13:52
|
I somewhere read a reply by Jeroen, that some windowmanagers ignore the decoration requests.. I guess in order to switch from window-mode (with decorations) to full-screen (borderless) then I have to close the window and spawn a full-screen window. -- Simon Strandgaard Simon Strandgaard <ne...@ad...> wrote: > I have a few problem removing the decorations.. here is my story. > > I want to toggle between window mode and full-screen mode. > > The main-window is stated with PLACEMENT_SCREEN and DECOR_ALL. > Then when the application has been running for a while, I want > to switch to full-screen. > > def onToggleScreenMode(sender, sel, event) > self.place(PLACEMENT_MAXIMIZED) > self.setDecorations(DECOR_NONE) > end > > It goes to full-screen.. but doesn't remove the decorations. > > Any ideas on how to accomplish this ? > > -- > Simon Strandgaard > > > Rich <ri...@li...> wrote: > > No problem - I would have mentioned what you found on your own... > > > > :-) > > > > -Rich > > > > ----- Original Message ----- > > From: "Simon Strandgaard" <ne...@ad...> > > To: <fxr...@li...> > > Sent: Monday, May 24, 2004 7:22 AM > > Subject: Re: [Fxruby-users] switch to full screen mode > > > > > > > Silly me.. Of cause I had to change from DECOR_ALL into DECOR_NONE. > > > > > > Thanks Rich for leading me on the right track :-) > > > > > > -- > > > Simon Strandgaard > > > > > > > > > Simon Strandgaard wrote: > > > > > > > Ok.. this makes a full screen window. However my blackbox titlebar > > > > is still visible, and the bottom of the window is outside the screen > > > > (the outside part has the same height as the titlebar). > > > > > > > > How do I spawn the window so that the titlebar is outside the display, > > > > so that pixel x=0, y=0 corresponds to the top-left most corner of the > > display ? > > > > > > > > -- > > > > Simon Strandgaard > > > > > > > > > > > > > > > > Rich <ri...@li...> wrote: > > > > > There will be a point when you do something like: > > > > > ... > > > > > @appRef=FXApp.new > > > > > ... > > > > > @mainwin=FXMainWindow.new(@appRef,"test") > > > > > ... > > > > > @appRef.create > > > > > @mainwin.show(PLACEMENT_SCREEN) > > > > > @appRef.run > > > > > > > > > > You'll want to use 'PLACEMENT_MAXIMIZED' instead of 'PLACEMENT_SCREEN' > > when > > > > > you 'show' your main window. > > > > > > > > > > -Rich > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Simon Strandgaard" <ne...@ad...> > > > > > To: "fxruby" <fxr...@li...> > > > > > Sent: Monday, May 24, 2004 6:23 AM > > > > > Subject: [Fxruby-users] switch to full screen mode > > > > > > > > > > > > > > > > I am working on a fxruby frontend for my text editor. > > > > > > I wish to switch to full-screen mode, but have not been able to > > > > > > find any text about how to accomplish this. > > > > > > > > > > > > Any ideas/suggestions are very welcome ? > > > > > > > > > > > > In case you know a fox application which are able to do this > > > > > > then please tell me.. then I will try doing copy/paste :-) > > > > > > > > > > > > -- > > > > > > Simon Strandgaard > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by: Oracle 10g > > > > > > Get certified on the hottest thing ever to hit the market... Oracle > > 10g. > > > > > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > > > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > > > > _______________________________________________ > > > > > > Fxruby-users mailing list > > > > > > Fxr...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: Oracle 10g > > > > > Get certified on the hottest thing ever to hit the market... Oracle > > 10g. > > > > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > > > _______________________________________________ > > > > > Fxruby-users mailing list > > > > > Fxr...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > > > > > > > > > > -- > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: Oracle 10g > > > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > > _______________________________________________ > > > > Fxruby-users mailing list > > > > Fxr...@li... > > > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > > > > > > > -- > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: Oracle 10g > > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > > _______________________________________________ > > > Fxruby-users mailing list > > > Fxr...@li... > > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Fxruby-users mailing list > > Fxr...@li... > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > -- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users -- |