fxruby-users Mailing List for FXRuby (Page 8)
Status: Inactive
Brought to you by:
lyle
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(75) |
Jul
(90) |
Aug
(61) |
Sep
(56) |
Oct
(56) |
Nov
(39) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(56) |
Feb
(45) |
Mar
(61) |
Apr
(40) |
May
(95) |
Jun
(79) |
Jul
(63) |
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: jeroen <je...@fo...> - 2004-05-24 22:08:23
|
On Monday 24 May 2004 09:09 am, Simon Strandgaard wrote: > 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. The maximize requires the window manager to understand "extended window manager hints". See freedesktop.org for details. My first choice would be to see if the blackbox people have added this already, and if not, request it from them [it'll help with ALL modern GUI apps, not just FOX but also gnome and kde]. While you're waiting, you can create a borderless toplevel window and reparent into that. This should work AFIAK. The advantage of reparenting is that you can reparent again to move back to the original toplevel window when you come out of full screen mode again. Regards - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 23:50 12/11/2003 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |
From: Simon S. <ne...@ad...> - 2004-05-24 21:33:10
|
I looked at both the examples with fxruby and the examples with fox itself, to see how they made their dialogs resizable. I discovered that resizing does'nt work there either. I looked at the FXWindow.cpp file, but way it deal with 'options' looked ok to me. Is it a known problem that resizing decorations doesn't work (except the mainwindow)? I am curious to if resizing works on you box, perhaps with a different version of fox? Please help. I have installed fox-1.0.51. I will try to install an older version to see if resizing works there. -- Simon Strandgaard Simon Strandgaard <ne...@ad...> wrote: > I have tried to initialize my derived class with > > super(owner, "Dialog", DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0) > > and also with > > super(owner, "Dialog", DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0) > > > But the dialog is not resizeable. > > What is the obvious I have overseen ? > > -- > Simon Strandgaard |
From: Simon S. <ne...@ad...> - 2004-05-24 17:03:34
|
I have tried to initialize my derived class with super(owner, "Dialog", DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0) and also with super(owner, "Dialog", DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0) But the dialog is not resizeable. What is the obvious I have overseen ? -- Simon Strandgaard |
From: Simon S. <ne...@ad...> - 2004-05-24 16:50:37
|
FYI: It wasn't possible to change the MainWindow of the application. Instead I now use a FXDialogBox as my primary window. When I want to toggle between fullscreen and windowed mode then I close the dialogbox, and then from the MainWindow I now spawn a new dialogbox instance in the opposite mode. Now I just have to figure out how to make the FXMainWindow invisible? -- Simon Strandgaard Simon Strandgaard wrote: > 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 > > > -- > > > ------------------------------------------------------- > 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 -- |
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 -- |
From: Simon S. <ne...@ad...> - 2004-05-24 13:49:46
|
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 -- |
From: Rich <ri...@li...> - 2004-05-24 13:31:33
|
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 > |
From: Simon S. <ne...@ad...> - 2004-05-24 13:26:56
|
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 -- |
From: Simon S. <ne...@ad...> - 2004-05-24 13:18:11
|
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 -- |
From: Rich <ri...@li...> - 2004-05-24 13:08:07
|
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 > |
From: Simon S. <ne...@ad...> - 2004-05-24 12:28:15
|
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 |
From: jeroen <je...@fo...> - 2004-05-24 03:09:54
|
On Saturday 22 May 2004 01:39 am, Hal Fulton wrote: > Thanks, Lyle... I'll cc Jeroen and on this then. > > I'll leave it on fxruby-users in case someone else > can learn from it. > > Lyle Johnson wrote: > > On May 17, 2004, at 4:12 PM, Hal Fulton wrote: > >> Are there general rules for setFocus that I need to know? > > > > Umm, maybe? ;) > > > > I would start out by reading Jeroen's documentation on how keyboard > > focus handling works in FOX: > > > > http://www.fox-toolkit.com/focus.html > > > > and then follow up with him (or on the foxgui-users mailing list) if > > that still leaves unanswered questions. > > Jeroen: > > I'm trying to understand this sentence: > > "setFocus() puts a widget into the focus chain. If the toplevel > widget had the REAL focus from the window system [the window > manager only assigns keyboard focus to a toplevel window], then > setFocus() generates a SEL_FOCUSIN message; note that in the > process of child->setFocus(), the whole chain is built up by upward > recursion, and the child does not become switched into the focus > chain until the parent is also." > > Does this mean I can't do a setFocus on a modal dialog box or its > contents? What is meant by a toplevel window -- one that stands alone, > or an actual main window? Anything derived from FXTopWindow, in other words, a direct child of the root window that's not a popup. > All I'm trying to do is display a modal dialog box and give the focus > to the single text field in it. Nothing I try works. Perhaps one of your buttons has the BUTTON_INITIAL and BUTTON_DEFAULT options? Normally, such a button attracts the focus when the dialog is first shown... Regards, Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 23:50 12/11/2003 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |
From: Tom <tku...@so...> - 2004-05-24 01:48:35
|
Aha! This is what I put in, after creating with "drivebox = FXDriveBox..." and "dirbox = FXDirBox..." drivebox.connect(SEL_COMMAND) { |send,sel,ptr| dirbox.directory = send.drive } Is this an appropriate usage of the sender or should I have used "drivebox.drive" instead? Thanks, Tom Lyle Johnson wrote: > > On May 22, 2004, at 9:29 PM, Tom wrote: > >> I am trying to make a very simple windows app that acts as an >> "explorer" or "browser" where I can browse any of the drives on the >> machine. I cant seem to escape from the current drive using >> FXFileList and FXDirList. Whatever drive the app runs from, that's >> the only one visible. How can I fully navigate to the different drives? > > > It sounds as though you may want to work an FXDriveBox widget into your > browser as well, as least for the Windows version. I guess maybe none of > the example programs use this widget, but it's basically a subclass of > FXListBox that lets you select a drive. You should then be able to use > that information to modify the path shown by the FXDirList or FXFileList. > > > > ------------------------------------------------------- > 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 > > |
From: Lyle J. <ly...@kn...> - 2004-05-24 00:47:14
|
On May 22, 2004, at 9:29 PM, Tom wrote: > I am trying to make a very simple windows app that acts as an > "explorer" or "browser" where I can browse any of the drives on the > machine. I cant seem to escape from the current drive using > FXFileList and FXDirList. Whatever drive the app runs from, that's > the only one visible. How can I fully navigate to the different > drives? It sounds as though you may want to work an FXDriveBox widget into your browser as well, as least for the Windows version. I guess maybe none of the example programs use this widget, but it's basically a subclass of FXListBox that lets you select a drive. You should then be able to use that information to modify the path shown by the FXDirList or FXFileList. |
From: Lyle J. <ly...@kn...> - 2004-05-24 00:44:30
|
On May 23, 2004, at 2:50 AM, Hal Fulton wrote: >> 1. The syntax of the "FXPNGIcon.new(application, f.read)" statement >> would >> lead me to think the icon is being attached to the application (e.g., >> for >> purpose of displaying the app in an OS' toolbar when it runs, >> perhaps) >> rather than in the application's FXMainWindow instance. I'd expect >> it to >> have a "main" argument explicitly naming the window to which it >> should be >> attached, as FxButton.new does. Several kinds of objects in FOX applications are treated as shared resources; these include objects like cursors, fonts and icons. So while an icon is associated with a particular FXApp instance (as suggested by its constructor) it's a mistake to think of it in terms of the application "owning" the icon. In fact, you can use the same, single FXPNGIcon instance with your main window, labels, buttons, etc. (i.e. any widget that can be decorated with an icon). A mistake I see in a lot of FOX programs is that programmers will construct multiple icon objects all pointing to the same icon data, e.g. 0.upto(1000) { anIcon = FXPNGIcon.new(getApp(), someIconData) anIcon.create aTreeList.addItemLast(nil, "some text", anIcon) } The confusion may arise because of how the constructors for "non-shared" FOX objects (such as windows) are written. There, the first argument is almost always the parent window, and there is a definite parent-child containment hierarchy going on there: the "parent" window does "own" the child window, in a sense, and if you delete the parent window the child window goes away too. >> 2. FXTooltip.new's failure to name any particular object leads me to >> think >> it should wire a tooltip into every object in the application (or >> rather, >> the app's main window?) that's built to host a tooltip, and that the >> tooltip text is to be gotten from each such object's caption text >> (using >> everything following the first tab.) There is only one tooltip object (or, rather, it's unnecessary to have more than one tooltip object). Whenever the tooltip's update handler runs, the tooltip checks to see which widget the mouse cursor is currently hovering over. And of course there's a timer in the mix, so that the tooltip "waits" a little while before it displays itself. You are correct that when the tooltip does display itself, it "asks" the current widget under the cursor for its tooltip text and displays that. Hope this helps, Lyle |
From: Jamey C. <jc...@tw...> - 2004-05-23 15:16:40
|
I'm sure others, especially Lyle, can anwer these questions better than I can, but since we all want Lyle to be working on the next version of FXRuby instead of answering questions, I'll take a lame stab at some answers: :) Hal Fulton wrote: > Forwarding a question someone asked me. > RLMuller wrote: > >> 1. The syntax of the "FXPNGIcon.new(application, f.read)" statement >> would >> lead me to think the icon is being attached to the application (e.g., >> for >> purpose of displaying the app in an OS' toolbar when it runs, perhaps) >> rather than in the application's FXMainWindow instance. I'd expect >> it to >> have a "main" argument explicitly naming the window to which it >> should be >> attached, as FxButton.new does. >> FXPNGIcon.new isn't putting the icon into any particular widget, it is simply creating the icon so that it can later be put into one or more widgets or windows (i.e. button, dialogbox, etc.). That's why you don't specify the particular widget (i.e. button) when you initially create it. However, if you look in the docs for the FXButton class, you will see that you can specify an icon in the constructor. That's where you put the reference to the FXPNGIcon that you created earlier. Am I understanding the question or did I miss something? >> 2. FXTooltip.new's failure to name any particular object leads me to >> think >> it should wire a tooltip into every object in the application (or >> rather, >> the app's main window?) that's built to host a tooltip, and that the >> tooltip text is to be gotten from each such object's caption text (using >> everything following the first tab.) >> This is kind of the same thing. You initialize a FXTooltip object once for the entire application. Then, when you create each object (i.e. button), you can specify a text string in the constructor that will appear as the tooltip for that object. But you have toe create the FXTooltip first for the whole app in order for tooltips to work for each object. >> I could probably answer these questions myself if I could find >> documentation >> on these classes, but all I could find on this website is class >> hierarchies >> for the Fox classes. >> >> Could you point me to a source for documentation for the Fox classes >> that >> addresses my questions, or in lieu of that comment on my inferences >> above? > > A pretty good source for docs is at www.fxruby.org. Click on the "API" button. This will take you to definitions of all the FXRuby classes/methods/attributes. HTH. Jamey |
From: Hal F. <ha...@hy...> - 2004-05-23 07:51:00
|
Forwarding a question someone asked me. Assist if you can. Hal -------- Original Message -------- Subject: Re: "Speeling is both prety gudd", etc. Date: Sun, 23 May 2004 02:44:33 -0500 From: Hal Fulton <ha...@hy...> Reply-To: ha...@hy... To: RLMuller <RLM...@co...> References: <Aoi...@co...> <aJO...@co...> <40B...@hy...> <002f01c44097$4df09bb0$050...@as...> RLMuller wrote: > While I "have you on the phone," let me inject a serious note. > http://www.fxruby.org/examples/hello2.rb provides a nice ToolTip demo that > raise a few questions in my mind: > > 1. The syntax of the "FXPNGIcon.new(application, f.read)" statement would > lead me to think the icon is being attached to the application (e.g., for > purpose of displaying the app in an OS' toolbar when it runs, perhaps) > rather than in the application's FXMainWindow instance. I'd expect it to > have a "main" argument explicitly naming the window to which it should be > attached, as FxButton.new does. > > 2. FXTooltip.new's failure to name any particular object leads me to think > it should wire a tooltip into every object in the application (or rather, > the app's main window?) that's built to host a tooltip, and that the > tooltip text is to be gotten from each such object's caption text (using > everything following the first tab.) > > I could probably answer these questions myself if I could find documentation > on these classes, but all I could find on this website is class hierarchies > for the Fox classes. > > Could you point me to a source for documentation for the Fox classes that > addresses my questions, or in lieu of that comment on my inferences above? Overall that is as puzzling to me as it is to you. I'll forward this to the fxruby users' list in case someone can help you. There's also some stuff on fox-toolkit.org (naturally not ruby-specific) which is sometimes helpful. If you get answers to these, will you share them with me? Thanks, Hal Fulton |
From: Tom <tku...@so...> - 2004-05-23 02:30:22
|
I am trying to make a very simple windows app that acts as an "explorer" or "browser" where I can browse any of the drives on the machine. I cant seem to escape from the current drive using FXFileList and FXDirList. Whatever drive the app runs from, that's the only one visible. How can I fully navigate to the different drives? Thanks, Tom |
From: Oliver S. <ol...@mo...> - 2004-05-22 17:14:42
|
The FXTreeList class I ended up writing for my program is a horrible, slow, complicated tangle of code. :| I couln't find a way to reorder items manually. If you look in the latest Fox source, FXTreeList now has a 'moveItem' sort of command that just hasn't been propagated into FXRuby yet. As to now, I think you have to delete the item and re-create it in the new position with 'addItemBefore' and 'addItemAfter'. I got drag and drop working (not on a tree list) with a combination of Lyle's tutorial and some posts on the Fox mailing list. I think it's so complicated because it's meant for transferring data between applications, when all I wanted was in the same application. Dragging an object seemed confusing to me for that reason. What I ended up doing when I wanted to drag and drop a ruby object is just copy it's Object::id into a flat string, drag that, and then just 'id2ref' the object into existence on the other side, rather than go to the trouble of packing the entire object. It doesn't work between applications, but it works in my case. I'm not sure about the state of dragging FXTreeList items...it seems like there is some partially working code in Fox for doing that, and that's probably where it should be implemented. I have some code that figures out which item the mouse is hovering over, if you find that useful. It would be awesome to have a more ruby-friendly version of FXTreeList. Those are my rambling notes. :) Maybe someone else knows better. Good luck anyway, Oliver > -----Original Message----- > From: fxr...@li... > [mailto:fxr...@li...]On Behalf Of Hal Fulton > Sent: Saturday, May 22, 2004 12:06 AM > To: fxr...@li... > Subject: [Fxruby-users] Thoughts on the tree list > > > OK, I'm making slow and painful progress on this app of mine > (http://tycho.rubyforge.org). > > Eventually I want to fix the tree list so that the items can > be re-ordered manually. > > This is daunting to me. A few months ago I read about the > cut-and-paste API, which I thought would be trivially simple > and is not at all. I also read about drag-and-drop, which is > somewhat related, and it is even more painful. > > The tree list itself is thorny to understand, and drag/drop > is even worse. Doing drag/drop inside a tree list sounds as > exciting as a trip to the dentist in a third world country. > > Wouldn't it be nice if someone wrote a widget (probably > inheriting from the tree list) which could be rearranged in > such ways, and was smart enough to "reflect" itself in a > tree datastructure? Then we could plug in such a widget without > worrying about writing that extra 200 lines of code, no? > > But I'm just dreaming there. There's probably some reason it's > not doable that way. > > Anyhow, if anyone has any words of wisdom in this area, I'll be > glad to listen... > > > Cheers, > Hal > > > > ------------------------------------------------------- > 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 > |
From: Hal F. <ha...@hy...> - 2004-05-22 07:06:28
|
OK, I'm making slow and painful progress on this app of mine (http://tycho.rubyforge.org). Eventually I want to fix the tree list so that the items can be re-ordered manually. This is daunting to me. A few months ago I read about the cut-and-paste API, which I thought would be trivially simple and is not at all. I also read about drag-and-drop, which is somewhat related, and it is even more painful. The tree list itself is thorny to understand, and drag/drop is even worse. Doing drag/drop inside a tree list sounds as exciting as a trip to the dentist in a third world country. Wouldn't it be nice if someone wrote a widget (probably inheriting from the tree list) which could be rearranged in such ways, and was smart enough to "reflect" itself in a tree datastructure? Then we could plug in such a widget without worrying about writing that extra 200 lines of code, no? But I'm just dreaming there. There's probably some reason it's not doable that way. Anyhow, if anyone has any words of wisdom in this area, I'll be glad to listen... Cheers, Hal |
From: Hal F. <ha...@hy...> - 2004-05-22 06:39:58
|
Thanks, Lyle... I'll cc Jeroen and on this then. I'll leave it on fxruby-users in case someone else can learn from it. Lyle Johnson wrote: > > On May 17, 2004, at 4:12 PM, Hal Fulton wrote: > >> Are there general rules for setFocus that I need to know? > > > Umm, maybe? ;) > > I would start out by reading Jeroen's documentation on how keyboard > focus handling works in FOX: > > http://www.fox-toolkit.com/focus.html > > and then follow up with him (or on the foxgui-users mailing list) if > that still leaves unanswered questions. Jeroen: I'm trying to understand this sentence: "setFocus() puts a widget into the focus chain. If the toplevel widget had the REAL focus from the window system [the window manager only assigns keyboard focus to a toplevel window], then setFocus() generates a SEL_FOCUSIN message; note that in the process of child->setFocus(), the whole chain is built up by upward recursion, and the child does not become switched into the focus chain until the parent is also." Does this mean I can't do a setFocus on a modal dialog box or its contents? What is meant by a toplevel window -- one that stands alone, or an actual main window? All I'm trying to do is display a modal dialog box and give the focus to the single text field in it. Nothing I try works. Surely this is doable?? Thanks much, Hal Fulton |
From: Adam W. <ad...@ta...> - 2004-05-21 16:40:03
|
At 12:08 PM -0400 5/21/04, Mohammad Khan wrote: >when we will have FXRuby that will work with fox 1.2.x ? On May 17 in the (aptly titled) thread "The inevitable question..." Lyle wrote: >So, the short answer is, I don't yet know when I'll have a first cut >at FXRuby 1.2. ... >I think the best I can shoot for at this point is "sometime in June" >for an FXRuby-1.2.0 release. -- Adam Wildavsky Extreme Programmer Tameware, LLC ad...@ta... http://www.tameware.com |
From: Mohammad K. <mk...@le...> - 2004-05-21 16:08:59
|
when we will have FXRuby that will work with fox 1.2.x ? Mohammad |
From: Lyle J. <ly...@kn...> - 2004-05-21 12:36:59
|
On May 20, 2004, at 9:21 PM, John Reed wrote: > How can I get the focus set on a FXMainWindow that is just basically a=20= > FXTable widget with no input capable fields? I=92ve got a menu = attached=20 > to it and I want the user to be able to do a Ctrl-N to add a new=20 > record to the database without having to click on the panel first. What happens when you call setFocus() on the table widget? Does it not=20= receive the keyboard focus? You might also want to check out the standard FOX documentation on=20 focus handling, found here: http://www.fox-toolkit.com/focus.html and then follow up with questions on the foxgui-users mailing list (or=20= to Jeroen directly). |
From: Lyle J. <ly...@kn...> - 2004-05-21 12:33:56
|
On May 17, 2004, at 4:12 PM, Hal Fulton wrote: > Are there general rules for setFocus that I need to know? Umm, maybe? ;) I would start out by reading Jeroen's documentation on how keyboard focus handling works in FOX: http://www.fox-toolkit.com/focus.html and then follow up with him (or on the foxgui-users mailing list) if that still leaves unanswered questions. |