Re: Dialogs in GTKmm
- From: Armin Burgmeier <armin arbur net>
- To: Zdravko Monov <zdravko monov gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Dialogs in GTKmm
- Date: Mon, 17 Apr 2006 12:05:35 +0200
I would like to have control of the dialog - that is what
button was pressed (OK or Cancel) in order to handle the program logic
correctly.
Thats exactly what a Gtk::Dialog is for. You associate response IDs to
the buttons in the dialog's action area and dialog.run() returns the
response ID of the button that has been pressed.
You may also show() your dialog to make it nonmodal, but you will have
to connect signal handlers to the dialog buttons then.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]