Module dui.Dialog
Constructor Summary | |
---|---|
protected |
(GtkWidget* gtkWidget) |
() Creates a new dialog |
|
(char title) Creates a new dialog with a title |
|
(String title) |
|
(String title, Window parent, DialogFlags flags, String buttonsText, Response responses) Creates a new dialog with a set of buttons |
|
(String title, Window parent, DialogFlags flags, Stock buttons, Response responses) Creates a new dialog with a set of buttons from the stock |
Methods Summary | |
---|---|
public static GType |
getType() gets this class Type |
Response |
run() Make the dialog modal and show it |
VBox |
getVBox() Gets the Dialog VBox, it's main container |
HButtonBox |
getActionArea() |
void |
addActionWidget(Widget child, Response response) Adds an activatable widget to the action area of a GtkDialog. |
Button |
addButton(String buttonText, Response responseID) Adds a button to this dialog |
Button |
addButton(Stock stockID, Response responseID) Adds a button to this dialog |
void |
addButtons(String buttonsText, Response responses) Add buttons to the dialog |
void |
addButtons(Stock stockID, Response responses) Add stock buttons to the dialog |
void |
setReponseSensitive(Response response, bit setting) Calls gtk_widget_set_sensitive (widget, setting) for each widget in the dialog's action area with the given response_id. |
void |
setDefaultResponse(Response response) Sets the default response for this dialog |
void |
setHasSeparator(bit setting) Setst if this dialog should have a separator ??? |
bit |
getHasSeparator() Cheks if this dialog has a separator ??? |