Re: Derived Gtk::Dialog discomforts
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Dick Eimers" <d eimers marin nl>
- Cc: gnomemm-list gnome org
- Subject: Re: Derived Gtk::Dialog discomforts
- Date: Wed, 25 Jan 2006 10:50:25 +0100 (CET)
[snip]
> Now for my problem, this works just fine for windows derived from
> GladeWindow, but there is an issue with GladeDialog as the response id
> are not returned when clicked on the buttons in the 'action area' and
> hence I have to add code like the following in every GladeDialog
> derivative to fix it or wait for run() to return forever..
>
> Gtk::Button* button;
> m_gladexml->get_widget("cancelbutton1", button);
> button->signal_clicked().connect(
> sigc::bind(sigc::mem_fun(*this,&SelectGroupAndProjectDialog::response),
> Gtk::RESPONSE_CANCEL)
> );
> //etc. for all buttons..
>
> Any idea why this is not transfered from one dialog to another?
This works fine with Glade derived dialogs for me. If you put a simple
test case online then we can probably find the problem.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]