text window/box
#1
I'm searching for an easy way to show a text window to the user with a close button at the bottom.
I know that there is e.g.

Code:
import xbmcgui

dialog = xbmcgui.Dialog()
dialog.ok('note', 'line1', 'line2', 'line3')

But this is too less text to show, I need something bigger.
Since Jarvis, there is also xbmcgui.Dialog().textviewer() but I would need something which works also with Isengard.

What options do I have?
Reply
#2
Quote:What options do I have?

A universal solution would be to create your own modal dialog with a TextBox control. You can do it via Python using xbmcgui.WindowDialog class or using xmcgui.WindowDialogXML class with XML layout (basically a mini-skin).

I might also suggest my PyXBMCt library that wraps several xbmcgui classes providing an API similar to desktop GUI frameworks.
Reply
#3
Thanks for your answer, this clarifies my question.
I have to look at your library but maybe it will be too heavy just to maintain a single text window. But I'll definitely look at it.
Reply

Logout Mark Read Team Forum Stats Members Help
text window/box0