Re: [gtkmm] some help needed for a standard process
- From: "Andreas B. Thun" <abt gmx de>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] some help needed for a standard process
- Date: Fri, 19 Mar 2004 09:26:40 +0100
Hi Murray,
so you think my code is ok?
// I want to display the FileSelection window
// until the selected file is ok
string dataBaseFile;
while (dataBaseFile.length() == 0) {
// Display window for file selection
FileSelection *fileSel = new FileSelection(string("select file:"));
dataBaseFile = fileSel->getSelectedFile();
fileSel->response(Gtk::RESPONSE_OK); // has no effect
delete fileSel; // destroy object but window remains
}
Thx,
Andi
A window should never still be seen after you have deleted its C++
instance. A test case in bugzilla might help us find the problem.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]