Re: [Fxruby-users] (Non)modal dialogues.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-07-18 14:47:10
|
Hugh Sasse Staff Elec Eng wrote:
>> On Fri, 18 Jul 2003, Lyle Johnson wrote:
>>
>> > getApp().modal?(theDialogBox)
>>
>> Yes, that helps. I'm puzzled about this design though: the Dialog
>> box would have to ask the application to ask the dialog box? This
>
> I've just checked: it doesn't even inherit this method.
I'm not sure what you mean. getApp() is an inherited instance method for
FXDialogBox. As we've discussed before, the way it's listed in the
documentation is as an attr_reader called "app", although you can use it
either way, i.e.
getApp().modal?(...)
or
app.modal?(...)
The getApp() method is inherited from FXId, way up there in the class
hierarchy.
And modal? is just an instance method for FXApp.
Lyle
|