Skip to content

Instantly share code, notes, and snippets.

@dmulder
Created August 1, 2019 22:52
Show Gist options
  • Save dmulder/e22451fc9041147cde095e4eb0511a1b to your computer and use it in GitHub Desktop.
Save dmulder/e22451fc9041147cde095e4eb0511a1b to your computer and use it in GitHub Desktop.
MultiLineEdit test file
from yast import import_module
import_module('UI')
from yast import *
UI.OpenDialog(
VBox(
MultiLineEdit(Id('problem'), 'Enter text here:'),
PushButton("&OK"),
)
)
UI.UserInput()
output = UI.QueryWidget('problem', 'Value')
UI.CloseDialog()
ycpbuiltins.y2error(output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment