Re: [Fxruby-users] getApp() disappeared?
Status: Inactive
Brought to you by:
lyle
From: Hugh S. S. E. E. <hg...@dm...> - 2003-11-25 10:27:32
|
On Mon, 24 Nov 2003, ly...@kn... wrote: > > On Mon, 24 Nov 2003 16:38:39 +0000 (GMT), Hugh Sasse Staff Elec Eng > <hg...@dm...> wrote : > > > OK. ...Incidentally, I don't see that in the rightmost pane of the > > rdocs... addTimeout is followed by append. > > The 'app' method is listed as a read-only attribute of the FXId class, on > this page: [...] > You are correct that none of the attribute accessor methods (such as > FXId#app) show up in RDoc's "Methods" pane. Perhaps that is a feature > recommendation that could be made to RDoc's developer(s). Will do, I've been bitten by this too often! > > > > What kind of object are you trying to call getApp() on? It is only > > > defined for FXDC, FXFileDict, FXIconDict and FXId (and their subclasses, > > > of course). > > > > I substituted @@app the last time it cropped up, and can't remember > > which object it was, but in creating new [...] > > Since 'app' is a (read-only) attribute of the FXId class, you can access its > value using the FXId#app instance method, e.g. [...] Thank you. > > These are equivalent. There is no FXId class variable named "@@app", nor is No, sorry, that's one I added to my application which holds the FXApp itself. > there an FXId instance variable "@app", however. > Hugh |