Re: [gtkmm] MessageDialog
- From: Manuel Martinez Fernandez <manuel martinez isotrol com>
- To: Craig Slusher <ouslush columbus rr com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] MessageDialog
- Date: 24 Apr 2003 09:27:54 +0200
I think it can't be used as a bitfield by now. You can use one of:
enum ButtonsType {
BUTTONS_NONE,
BUTTONS_OK,
BUTTONS_CLOSE,
BUTTONS_CANCEL,
BUTTONS_YES_NO,
BUTTONS_OK_CANCEL
}
Try this:
Gtk::MessageDialog
dialog(*p_window_main,
"Your address book has been modified.\nWould you like to save the changes?",
Gtk::MESSAGE_QUESTION,
(Gtk::ButtonsType)(Gtk::BUTTONS_OK_CANCEL));
El jue, 24-04-2003 a las 06:13, Craig Slusher escribió:
> Gtk::MessageDialog
> dialog(*p_window_main,
> "Your address book has been modified.\nWould you like to save the changes?",
> Gtk::MESSAGE_QUESTION,
> (Gtk::ButtonsType)(Gtk::BUTTONS_OK | Gtk::BUTTONS_CANCEL));
>
> This displays a valid MessageDialog except for one problem. Only the Cancel
> button is shown!!! Can someone please explain how to fix this or why in the
> world it is happening in the first place? Thanks a lot!
>
> --
> Craig Slusher
> ouslush columbus rr com
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]