edvin
04/05/2017, 8:38 PMtornadofx
and give you write access as well 🙂nimakro
04/05/2017, 8:41 PMedvin
04/05/2017, 8:41 PMcarlw
04/06/2017, 1:17 AMcarlw
04/06/2017, 1:17 AMedvin
04/06/2017, 9:07 AMedvin
04/06/2017, 9:07 AMron
04/06/2017, 9:07 AMedvin
04/06/2017, 9:07 AMedvin
04/06/2017, 9:08 AMron
04/06/2017, 9:08 AMedvin
04/06/2017, 9:08 AMron
04/06/2017, 9:08 AMedvin
04/06/2017, 9:09 AMron
04/06/2017, 9:09 AMedvin
04/06/2017, 9:10 AMTabPane.connectWorkspaceActions()
which will delegate all workspace buttons and actions to the currently docked View inside a TabPane.edvin
04/06/2017, 9:10 AMedvin
04/06/2017, 9:18 AMDelete button in Workspace toolbar▾
ron
04/06/2017, 9:25 AMedvin
04/06/2017, 9:26 AMedvin
04/06/2017, 9:33 AMWorkspace.defaultDeletable = false
for example. It's also possible to hide those buttons if you never use the functionality.ron
04/06/2017, 9:43 AMWorkspace.defaultHideDelete
?edvin
04/06/2017, 10:02 AMdefaultDeletable
will just make sure that the button is disabled. To remove it, just do workspace.deleteButton.hide()
or even removeFromParent
if you want.edvin
04/06/2017, 10:02 AMedvin
04/06/2017, 10:02 AMedvin
04/06/2017, 10:04 AMnimakro
04/06/2017, 10:23 AMWorkspace
yet, I am currently starting a new tornadofx project would there be any reasion to not use the Workspace
approach?edvin
04/06/2017, 10:23 AMnimakro
04/06/2017, 10:26 AM