GUI support for user scripting.
Copyright 2007-2014 Research Foundation State University of New York
This file is part of QUB Express.
QUB Express is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
QUB Express is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License,
named LICENSE.txt, in the QUB Express program directory. If not, see
<http://www.gnu.org/licenses/>.
|
show_message(message,
buttons=<enum GTK_BUTTONS_OK of type GtkButtonsType>,
title='
' ,
parent=None)
Displays a message dialog box. |
source code
|
|
|
prompt_choices(message,
choices=[ ' Cancel ' , ' OK ' ] ,
title='
' ,
parent=None)
Returns index of choice; 0 is also window-close. |
source code
|
|
|
prompt_entry(message,
value,
accept=None,
format=' %s ' ,
title='
' ,
parent=None)
Returns modified value, or None if canceled. |
source code
|
|
|
|
|
|
|
ExploreListSlices(obj,
objname,
base=0,
count=None) |
source code
|
|
|
explore_one(obj,
name,
*selection_names,
**kw)
Shows the Python object hierarchy under one object. |
source code
|
|
|
explore(*selection_names,
**kw)
Shows the Python object hierarchy in qubx.global_namespace |
source code
|
|
|
|