AcceptDialogAddButton Method |
Adds a button with label text and a custom action to the dialog and returns the created button. action will be passed to the custom_action signal when pressed.
If true, right will place the button to the right of any sibling buttons.
Namespace: Godot
public Button AddButton( string text, bool right = false, string action = "" )
[Missing <param name="text"/> documentation for "M:Godot.AcceptDialog.AddButton(System.String,System.Boolean,System.String)"]
[Missing <param name="right"/> documentation for "M:Godot.AcceptDialog.AddButton(System.String,System.Boolean,System.String)"]
[Missing <param name="action"/> documentation for "M:Godot.AcceptDialog.AddButton(System.String,System.Boolean,System.String)"]
[Missing <returns> documentation for "M:Godot.AcceptDialog.AddButton(System.String,System.Boolean,System.String)"]