Dialog building facilities.
|
|
dialog_keypressed_cb(widget=None,
event=None)
Generic dialog keypress handler. |
source code
|
|
|
|
|
|
|
|
|
|
list_selector(title=None,
text=None,
members=None,
controller=None,
preselect=None,
entry=False)
Pick an element from a list. |
source code
|
|
|
|
message_dialog(label='',
icon=<enum GTK_MESSAGE_INFO of type GtkMessageType>,
modal=True,
callback=None)
Message dialog. |
source code
|
|
|
|
|
|
string
|
entry_dialog(title=None,
text=None,
default='',
completions=None)
Display a dialog to enter a short text. |
source code
|
|
|
|
|
|
|
|
|
|
title_id_dialog(title='Name the element',
element_title=None,
element_id=None,
text='Choose a name for the element',
flags=None)
Build a dialog to get title and id. |
source code
|
|
|
|
get_title_id(title='Name the element',
text='Choose a name for the element',
element_title=None,
element_id=None)
Get a title and id pair. |
source code
|
|
|
|
get_filename(title='Open a file',
action=<enum GTK_FILE_CHOOSER_ACTION_OPEN of type GtkFileChooserAction>,
button='gtk-open',
default_dir=None,
default_file=None,
alias=False,
filter='any')
Get a filename. |
source code
|
|
|
|
get_dirname(title='Choose a directory',
action=<enum GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER of type GtkFileCho...,
button='gtk-ok',
default_dir=None)
Get a directory name. |
source code
|
|
|
|
center_on_mouse(w)
Center the given gtk.Window on the mouse position. |
source code
|
|