|
|
|
|
|
getAdjustedHeight(self)
Calculate an adjusted height to make the plot look better in the
widget's viewfield - otherwise the graphics are too close to the top
of the window. |
source code
|
|
|
|
getTextPointSize(self,
gkiTextScaleFactor,
winWidth,
winHeight)
Make a decision on the best font size (point) based on the size of
the graphics window and other factors |
source code
|
|
|
|
|
|
|
resizeGraphics(self,
width,
height)
It is time to set a magnitude to our currently normalized lines, and
send them to the figure. |
source code
|
|
|
|
|
|
|
gcurTerminate(self,
msg='Window destroyed by user')
Terminate active gcur and set EOF flag |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
taskStart(self,
name)
Because of redirection, this is not always called on the first plot
but it should be called for every successive one. |
source code
|
|
|
|
|
|
|
|
|
|
doubleRedrawHack(self)
This is a hack to prevent the double redraw on first plots. |
source code
|
|
|
|
|
|
|
getHistory(self)
Additional information for page history |
source code
|
|
|
|
setHistory(self,
info)
Restore using additional information from page history |
source code
|
|
|
|
|
|
|
|
|
|
isPageBlank(self)
Returns true if this page is blank |
source code
|
|
|
|
|
|
|
incrPlot(self)
Plot any new commands in the buffer |
source code
|
|
|
|
_plotAppend(self,
plot_function,
*args)
Append a 2-tuple (plot_function, args) to the draw buffer |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
gki_polyline(self,
arg)
Instructed to draw a GKI polyline |
source code
|
|
|
|
|
|
|
|
|
|
gki_text(self,
arg)
Instructed to draw some GKI text |
source code
|
|
|
|
gki_fillarea(self,
arg)
Instructed to draw a GKI fillarea |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
redraw(self,
o=None)
Redraw for expose or resize events, also called when page menu is
used. |
source code
|
|
|
Inherited from gkitkbase.GkiInteractiveTkBase:
__init__,
backPage,
clear,
control_clearws,
control_closews,
control_deactivatews,
control_getwcs,
control_openws,
control_reactivatews,
control_setwcs,
createNewWindow,
deleteAllPlots,
deletePlot,
doprint,
editMenuInit,
errorMessage,
firstPage,
flush,
focusOnGwidget,
forceFocus,
getHelp,
getWindowID,
getWindowName,
gki_setwcs,
gwdestroy,
hasFocus,
iconify,
lastPage,
load,
makeEditMenu,
makeFileMenu,
makeHelpMenu,
makeMenuBar,
makePageMenu,
makeStatus,
makeWindowMenu,
nextPage,
pageMenuInit,
raiseWindow,
refreshPage,
save,
saveCursorPos,
selectedPage,
setCursorColor,
setDrawingColor,
translate,
windowMenuInit
Inherited from gki.GkiKernel:
append,
clearReturnData,
control,
createFunctionTables,
getBuffer,
getStderr,
getStdin,
getStdout,
popStdio,
preferTtyIpc,
pushStdio,
redoN,
redrawOriginal,
undoN
|