Carlos Adriano Portes wrote:

> Whats the simple way of doing it in a dialog?

If you're using the MessageDialog class, it would be something like:

MessageDialog dialogue = new MessageDialog (w, 
DialogFlags.DestroyWithParent, MessageType.Question, ButtonsType.YesNo, 
"Yes or No?");
ResponseType response = (ResponseType) dialogue.Run();

I can't access the documentation at the moment, but look at the class 
and check the links to ButtonsType.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to