Module dui.Button
| Constructor Summary | |
|---|---|
|
(Button button) |
|
|
() creates a new button |
|
|
(char label) creates a new button with a label |
|
|
(String label) creates a new button with a label |
|
|
(char label, void delegate()) creates a new button with a label |
|
|
(String label, void delegate()) creates a new button with a label |
|
|
(char label, void delegate(Button)) creates a new button with a label and OnButtonClicked delegate |
|
|
(String label, void delegate(Button)) creates a new button with a label and OnButtonClicked delegate |
|
|
(char label, void delegate(Button), char action) creates a new button with a label, OnButtonClicked delegate and an action |
|
|
(String label, void delegate(Button), String action) creates a new button with a label, OnButtonClicked delegate and an action |
|
|
(Stock stockID) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, void delegate()) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, void delegate(Button)) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate()) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate(), char action) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate(), String action) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate(Button)) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate(Button), char action) Creates a bitton from the stock of predefined buttons |
|
|
(Stock stockID, bit hideLabel, void delegate(Button), String action) Creates a bitton from the stock of predefined buttons |
|
|
(Image image) |
|
| Methods Summary | |
|---|---|
| protected alias |
EventHandler0!(Button ) |
| alias |
EventHandler!(Button ) |
| alias |
EventHandler!(Button ) |
| alias |
EventHandler!(Button ) |
| alias |
EventHandler!(Button ) |
| alias |
EventHandler!(Button ) |
| alias |
EventHandler!(Button ) |
| : |
this(GtkWidget* gtkWidget) |
| public char |
toString() |
| public void |
addOnClick(void delegate()) addOnClick |
| public void |
addOnButtonClicked(void delegate(Button)) addOnBubttonClicked |
| public void |
addOnButtonPressed(void delegate(Button)) addOnButtonPressed |
| public void |
addOnButtonReleased(void delegate(Button)) addOnButtonReleased |
| public void |
addOnButtonEnter(void delegate(Button)) addOnButtonEnter |
| public void |
addOnButtonLeave(void delegate(Button)) addOnButtonLeave |
| public void |
addOnButtonActivate(void delegate(Button)) addOnButtonActivate |
| String |
getLabel() Gets the label text for this button |
| void |
setRelief(ReliefStyle newstyle) Sets the relief style of the edges for this button. |
| ReliefStyle |
getRelief() |
| void |
setLabel(char label) Sets the label text for this buttons |
| void |
setLabel(String label) Sets the label text for this buttons |
| void |
setUseUnderline(gboolean use_underline) If true, an underline in the text of the button label indicates the next character should be used for the mnemonic accelerator key. |
| bit |
getUseUnderline() Returns whether an embedded underline in the button label indicates a mnemonic. |
| void |
setUseStock(gboolean use_stock) If true, the label set on the button is used as a stock id to select the stock item for the button. |
| bit |
getUseStock() Returns whether the button label is a stock item. |