We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the adhocFragment and adhocWindow are good is it possible to have an adhocInternalWindow function too?
The text was updated successfully, but these errors were encountered:
It could be as simple as:
protected fun openInternalAdhocWindow(title: String, scope: Scope = this@UIComponent.scope, icon: Node? = null, modal: Boolean = true, owner: Node = root, escapeClosesWindow: Boolean = true, closeButton: Boolean = true, rootBuilder: UIComponent.() -> Parent) = InternalWindow(icon, modal, escapeClosesWindow, closeButton).open(AdhocFragment(scope, title, rootBuilder), owner)
Basic usage:
openInternalAdhocWindow("Internal title") { label("Look ma, I'm internal!") }
Will that work for you?
Sorry, something went wrong.
Sorry Ron, I seem to have committed this one already. It's called openInternalBuilderWindow
openInternalBuilderWindow
No branches or pull requests
the adhocFragment and adhocWindow are good is it possible to have an adhocInternalWindow function too?
The text was updated successfully, but these errors were encountered: