Re: [Fxruby-users] Help me preserve my sanity - why doesn't this work?
Status: Inactive
Brought to you by:
lyle
From: Joel V. <vj...@PA...> - 2003-08-28 14:16:00
|
Nathaniel Talbott wrote: > I feel like I'm going bananas here... I was going to build a simple example > of another problem I'm having, but cannot for the life of me get my simple > example to work! I have what I _think_ is the functional equivalent of the > code below in my main app, and it works fine. However, when I run this code, > I get the "PRESSED" message from the button but no matter how many times I > minimize the window, I never get "UNMAPPED": > > require 'fox' > include Fox > > app = FXApp::new > window = FXMainWindow::new(app, "Test", nil, nil, DECOR_ALL, 0, 0, 100, > 100) > window.connect(SEL_UNMAP){p "UNMAPPED"} > button = FXButton::new(window, "Test") > button.connect(SEL_COMMAND){p "PRESSED"} > app.create > window.show > app.run I'm getting the UNMAPPED message when I minimize, at least with KDE... |