Table of Contents
Yesnobutton
A Yesnobutton opens a pop-up on click. The pop-up forces the user to answer a yes/no question.
Attributes
| Name | Allowed Values | Description |
|---|---|---|
| width | Length- or Percentage | Sets the width of a widget |
| css | CSS Class Name | Sets a new style |
| tooltip | Text | Sets a tooltip text |
| id | Text | Sets the unique ID of the widget |
| title | Text | Title of the pop-up |
| message | Text | Message of the pop-up |
| actionyes | Method Name | Method which will be executed on “Yes” |
| actionno | Method Name | Method which will be executed on “No” |
Options
| Name | Allowed Values | Description |
|---|---|---|
| visible | Bool | Widget visible/invisible |
| enabled | Bool | Widget enabled/disabled |
Example
XML
<yesnobutton actionyes="yesbutton" actionno="nobutton" title="Title" message="Message text">Button</yesnobutton>
Result
Links
You could leave a comment if you were logged in.
