Skip to main content
Jump to: navigation, search

Scout/Concepts/Button


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
Bugzilla
Bugzilla


Type of Field for buttons.

  • implements: I obj.pngIButton
  • extends: C obj.pngAbstractButton

Description

Note.png
TODO
Add a description

Scout propose different types of buttons:

Screenshot

Button RAP SWT Swing Swing Rayo
Button Scout 3.8 Button RAP.png Scout 3.8 Button SWT.png Scout 3.8 Button Swing.png Scout 3.8 Button Swing Rayo.png
ToggleButton Scout 3.8 ToggleButton RAP.png Scout 3.8 ToggleButton SWT.png Scout 3.8 ToggleButton Swing.png Scout 3.8 ToggleButton Swing Rayo.png
LinkButton Scout 3.8 LinkButton RAP.png Scout 3.8 LinkButton SWT.png Scout 3.8 LinkButton Swing.png Scout 3.8 LinkButton Swing Rayo.png
RadioButton Scout 3.8 RadioButton RAP.png Scout 3.8 RadioButton SWT.png Scout 3.8 RadioButton Swing.png Scout 3.8 RadioButton Swing Rayo.png

Properties

Defined with getConfiguredXxxxxx() methods.

See also the Field page for the properties that all fields have in common.


Events

Defined with execXxxxxx() methods.

See also the Field page for the events that all fields have in common.


Notes

Button should fill the available space of its parent


If you want a Button to fill the available space of its parent you need to:

  • Set Grid Weight X to 1
  • Set Grid Weight Y to 1
  • Set Process Button to false (Important)
  • Set Grid X to a valid value (0 for the leftmost column etc.)
  • Set Grid X to a valid value (0 for the uppermost row etc.)
  • Set Fill Horinzontal to true
  • Set Fill Vertical to true

Scout button fill parent.PNG

See Also

Back to the top