Hi,
I'm trying to close a custom dialog after performing some operations
in my OnResponse override. How can I close the dialog properly?

protected override void OnResponse(ResponseType response_id)
        {
            switch (response_id)
            {
                case ResponseType.Ok:
                    IDevice new_device = 
builders[type_combo.Active].GetDevice();
                    devices.Add(new_device);
                    //:TODO: quit
                    break;
                default:
                    base.OnResponse(response_id);
                    break;
            }
        }

Thanks in advance, Jon.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to