- getGType
GType getGType()
- gType
GType gType [@property getter]
- self
MessageDialog self()
Returns this, for use in with statements.
- addResponse
void addResponse(string id, string label)
Adds a response with id and label to self.
- choose
void choose(gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback)
This function shows self to the user.
- chooseFinish
string chooseFinish(gio.async_result.AsyncResult result)
- getBody
string getBody()
Gets the body text of self.
- getBodyUseMarkup
bool getBodyUseMarkup()
Gets whether the body text of self includes Pango markup.
- getCloseResponse
string getCloseResponse()
Gets the ID of the close response of self.
- getDefaultResponse
string getDefaultResponse()
Gets the ID of the default response of self.
- getExtraChild
gtk.widget.Widget getExtraChild()
Gets the child widget of self.
- getHeading
string getHeading()
Gets the heading of self.
- getHeadingUseMarkup
bool getHeadingUseMarkup()
Gets whether the heading of self includes Pango markup.
- getResponseAppearance
adw.types.ResponseAppearance getResponseAppearance(string response)
Gets the appearance of response.
- getResponseEnabled
bool getResponseEnabled(string response)
Gets whether response is enabled.
- getResponseLabel
string getResponseLabel(string response)
Gets the label of response.
- hasResponse
bool hasResponse(string response)
Gets whether self has a response with the ID response.
- removeResponse
void removeResponse(string id)
Removes a response from self.
- response
void response(string response)
Emits the signalMessageDialog::response signal with the given response ID.
- setBody
void setBody(string body_)
Sets the body text of self.
- setBodyUseMarkup
void setBodyUseMarkup(bool useMarkup)
Sets whether the body text of self includes Pango markup.
- setCloseResponse
void setCloseResponse(string response)
Sets the ID of the close response of self.
- setDefaultResponse
void setDefaultResponse(string response)
Sets the ID of the default response of self.
- setExtraChild
void setExtraChild(gtk.widget.Widget child)
Sets the child widget of self.
- setHeading
void setHeading(string heading)
Sets the heading of self.
- setHeadingUseMarkup
void setHeadingUseMarkup(bool useMarkup)
Sets whether the heading of self includes Pango markup.
- setResponseAppearance
void setResponseAppearance(string response, adw.types.ResponseAppearance appearance)
Sets the appearance for response.
- setResponseEnabled
void setResponseEnabled(string response, bool enabled)
Sets whether response is enabled.
- setResponseLabel
void setResponseLabel(string response, string label)
Sets the label of response to label.
- connectResponse
ulong connectResponse(string detail, T callback, Flag!"After" after)
Connect to Response signal.