<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def simple(type, short, long=None, parent=None, buttons=gtk.BUTTONS_OK, default=None, **kw):
 """A simple dialog :param type: The type of dialog :param short: The short description :param long: The long description :param parent: The parent Window to make this dialog transient to :param buttons: A buttons enum :param default: A default response """

    if buttons == gtk.BUTTONS_OK:
        default = gtk.RESPONSE_OK
    return _message_dialog(type, short, long, parent=parent, buttons=buttons,
                           default=default, **kw)