Provides a simple interface for the display of some basic dialogs to
collect information from the user.
This version uses Zenity to integrate well with GNOME.
A note on exit codes: an exit code of 0 indicates that the user
clicked OK.
|
|
|
tuple(int, str)
|
|
tuple(int, str)
|
|
tuple(int, str)
|
list_menu(self,
options,
title='Choose a value',
message='Choose a value',
default=None)
Show a single-selection list menu |
source code
|
|
tuple(int, str)
|
list_menu_multi(self,
options,
title='Choose one or more values',
message='Choose one or more values',
defaults=[])
Show a multiple-selection list menu |
source code
|
|
tuple(int, str)
|
|
tuple(int, str)
|
|
tuple(int, str)
|
|
tuple(int, str)
|
calendar(self,
title='Choose a date',
format='%Y-%m-%d',
date='today')
Show a calendar dialog |
source code
|
|