Lines Matching refs:text
77 def setBackgroundTitle(self, text):
78 self.__bgTitle = '--backtitle "%s"' % text
104 def yesno(self, text, height=10, width=30, title=''):
111 '--yesno "%s" %d %d' % (text, height, width))
115 def msgbox(self, text, height=10, width=30, title=''):
121 '--msgbox "%s" %d %d' % (text, height, width))
124 def infobox(self, text, height=10, width=30):
126 self.__perform('--infobox "%s" %d %d' % (text, height, width))
129 def inputbox(self, text, height=10, width=30, init='', title=''):
135 '--inputbox "%s" %d %d "%s"' % (text, height, width, init))
146 """Display a file in a scrolling text box."""
153 def menu(self, text, height=15, width=54, list=[]):
165 (text, height, width, menuheight, choices))
172 def checklist(self, text, height=15, width=54, list=[], checked=None):
189 (text, height, width, menuheight, choices))
203 def radiolist(self, text, height=15, width=54, list=[], selected=0):
220 (text, height, width, menuheight, choices))
236 def scrollbox(self, text, height=20, width=60, title=''):
239 display a file in a scrolling text field. This method allows any
245 f.write(text)
252 def gauge_start(self, perc=0, text='', height=8, width=54, title=''):
261 d.gauge_iterate(100, 'any text here') # work is done
265 '--gauge "%s" %d %d %d' % (text, height, width, perc)
271 def gauge_iterate(self, perc, text=''):
277 if text:
278 text = 'XXX\n%d\n%s\nXXX\n' % (perc, text)
280 text = '%d\n' % perc
281 self.pipe.write(text)