Re: Button in a dialog
- From: Bob Caryl <bob fis-cal com>
- To: "J. Baltasar Garcia Perez-Schofield" <jbgarcia uvigo es>
- Cc: gtkmm-list gnome org
- Subject: Re: Button in a dialog
- Date: Tue, 24 Jan 2006 14:08:00 -0600
Hey Baltasar,
I am also using Glade, but I am not using the source it produces.
Nevertheless, if when designing your dialog box you should set the
dialog itself to NOT be modal in the properties window of Glade. This
results in the dialog not closing at all regardless of what buttons are
pushed. This will give you the flexibility you seek, but you'll have to
close the dialog manually when the Gtk::RESPONE is one where closing the
dialog would be appropriate.
Bob
J. Baltasar Garcia Perez-Schofield wrote:
Hi, there !
Okay, only one more question. o:-)
using gtkmm 2.4, and glade and Anjuta.
I have a dialog "dlgProperties", in which I need a help button to
display some information, but *not* finish the dialog. glade/glademm
created the source code for me (inside the constructor):
dlgProperties->add_action_widget(*butHelp, Gtk::RESPONSE_HELP);
My problem is that this makes the dialog to be finished, and I just
want it to display some info and let the dialog continue with its
processing until the user presses the button "Close", which works
correctly.
So I tried:
dlgProperties->add_action_widget(*butHelp, Gtk::RESPONSE_NONE);
But didn't worked out. I really want the button in the area in which it
appears, near to the close button, but I don't want it to close the
dialog after displaying the help info.
How can I do that ?
Salud !
Baltasar
--
PBC -- J. Baltasar García Perez-Schofield
jbgarcia en uvigo de es http://webs.uvigo.es/jbgarcia/
Dep. Informática, Universidad de Vigo, España (Spain)
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
begin:vcard
fn:Robert Caryl
n:Caryl;Robert
org:Fiscal Systems, Inc.
adr:;;102 Commerce Circle;Madison;AL;35758;USA
email;internet:bob fis-cal com
title:Senior Software Design Engineer
tel;work:356-772-8920 X108
x-mozilla-html:TRUE
url:http://www.fis-cal.com
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]