| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package gui :: Package widgets :: Module tree :: Class Tree |
|
Misc--+ |BaseWidget--+ |Grid--+ |Pack--+ |Place--+ |Widget--+ |Canvas--+ | Tree
| Method Summary | |
|---|---|
__init__(self,
master,
root_id,
root_label,
get_contents_callback,
dist_x,
dist_y,
text_offset,
line_flag,
expanded_icon,
collapsed_icon,
regular_icon,
plus_icon,
minus_icon,
node_class,
drop_callback,
*args,
**kw_args)
| |
Add node construction info to list... | |
Add a node during get_contents_callback()... | |
Move to immediate parent... | |
Return node under cursor... | |
Move right, expanding as we go... | |
Accept dnd messages, i.e. | |
Object has been dropped here... | |
Get ready to drag or drag has entered widget (create drag... | |
Finish dragging or drag has left widget (destroy drag object)... | |
Move drag icon... | |
Search for a node... | |
Go to root node... | |
Go to last visible node... | |
Move cursor to node... | |
Move to next lower visible node... | |
Next page... | |
Previous page... | |
Move to next higher visible node... | |
Soak up event argument when moused-over... | |
Scroll (in a series of nudges) so items are visible... | |
Keep track of callback bindings so we can delete them later. | |
Expand/collapse subtree... | |
Determine drag location in canvas coordinates. | |
| Inherited from Canvas | |
Internal function. | |
Add tag NEWTAG to all items above TAGORID. | |
Add tag NEWTAG to all items. | |
Add tag NEWTAG to all items below TAGORID. | |
Add tag NEWTAG to item which is closest to pixel at X, Y. | |
Add tag NEWTAG to all items in the rectangle defined by X1,Y1,X2,Y2. | |
Add tag NEWTAG to all items which overlap the rectangle defined by X1,Y1,X2,Y2. | |
Add tag NEWTAG to all items with TAGORID. | |
Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses all items with tags specified as arguments. | |
Return the canvas x coordinate of pixel position SCREENX rounded to nearest multiple of GRIDSPACING units. | |
Return the canvas y coordinate of pixel position SCREENY rounded to nearest multiple of GRIDSPACING units. | |
Return a list of coordinates for the item given in ARGS. | |
Create arc shaped region with coordinates x1,y1,x2,y2. | |
Create bitmap with coordinates x1,y1. | |
Create image item with coordinates x1,y1. | |
Create line with coordinates x1,y1,...,xn,yn. | |
Create oval with coordinates x1,y1,x2,y2. | |
Create polygon with coordinates x1,y1,...,xn,yn. | |
Create rectangle with coordinates x1,y1,x2,y2. | |
Create text with coordinates x1,y1. | |
Create window with coordinates x1,y1,x2,y2. | |
Delete characters of text items identified by tag or id in ARGS (possibly several times) from FIRST to LAST character (including). | |
Delete items identified by all tag or ids contained in ARGS. | |
Delete tag or id given as last arguments in ARGS from items identified by first argument in ARGS. | |
Internal function. | |
Return items above TAGORID. | |
Return all items. | |
Return all items below TAGORID. | |
Return item which is closest to pixel at X, Y. | |
Return all items in rectangle defined by X1,Y1,X2,Y2. | |
Return all items which overlap the rectangle defined by X1,Y1,X2,Y2. | |
Return all items with TAGORID. | |
Set focus to the first item specified in ARGS. | |
Return tags associated with the first item specified in ARGS. | |
Set cursor at position POS in the item identified by TAGORID. | |
Return position of cursor as integer in item specified in ARGS. | |
Insert TEXT in item TAGORID at position POS. | |
Return the resource value for an OPTION for item TAGORID. | |
Configure resources of an item TAGORID. | |
Configure resources of an item TAGORID. | |
Raise an item TAGORID given in ARGS (optional above another item). | |
Lower an item TAGORID given in ARGS (optional below another item). | |
Move an item TAGORID given in ARGS. | |
Print the contents of the canvas to a postscript file. | |
Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE. | |
Adjust the view of the canvas to GAIN times the difference between X and Y and the coordinates given in scan_mark. | |
Remember the current X, Y coordinates. | |
Adjust the end of the selection near the cursor of an item TAGORID to index. | |
Clear the selection if it is in this widget. | |
Set the fixed end of a selection in item TAGORID to INDEX. | |
Return the item which has the selection. | |
Set the variable end of a selection in item TAGORID to INDEX. | |
Lower an item TAGORID given in ARGS (optional below another item). | |
Raise an item TAGORID given in ARGS (optional above another item). | |
Unbind for all items with TAGORID for event SEQUENCE the function identified with FUNCID. | |
Raise an item TAGORID given in ARGS (optional above another item). | |
Return the type of the item TAGORID. | |
Query and change horizontal position of the view. | |
Adjusts the view in the window so that FRACTION of the total width of the canvas is off-screen to the left. | |
Shift the x-view according to NUMBER which is measured in "units" or "pages" (WHAT). | |
Query and change vertical position of the view. | |
Adjusts the view in the window so that FRACTION of the total height of the canvas is off-screen to the top. | |
Shift the y-view according to NUMBER which is measured in "units" or "pages" (WHAT). | |
| Inherited from BaseWidget | |
Destroy this and all descendants widgets. | |
| Inherited from Misc | |
Return the resource value for a KEY given as string. | |
| |
Return the window path name of this widget. | |
Return the Tkinter instance of a widget identified by its Tcl name NAME. | |
Call function once after given time. | |
Cancel scheduling of function identified with ID. | |
Call FUNC once if the Tcl main loop has no event to process. | |
Ring a display's bell. | |
Bind to this widget at event SEQUENCE a call to function FUNC. | |
Bind to all widgets at an event SEQUENCE a call to function FUNC. | |
Bind to widgets with bindtag CLASSNAME at event SEQUENCE a call of function FUNC. | |
Set or get the list of bindtags for this widget. | |
Return the resource value for a KEY given as string. | |
Append STRING to the Tk clipboard. | |
Clear the data in the Tk clipboard. | |
Useless. | |
Configure column INDEX of a grid. | |
Configure resources of a widget. | |
Configure resources of a widget. | |
Internal function. | |
Bind a virtual event VIRTUAL (of the form <<Name>>) to an event SEQUENCE such that the virtual event is triggered whenever SEQUENCE occurs. | |
Unbind a virtual event VIRTUAL from SEQUENCE. | |
Generate an event SEQUENCE. | |
Return a list of all virtual events or the information about the SEQUENCE bound to the virtual event VIRTUAL. | |
Return the widget which has currently the focus on the display where this widget is located. | |
Direct input focus to this widget even if the application does not have the focus. | |
Return the widget which has currently the focus in the application. | |
Return the widget which would have the focus if top level for this widget gets the focus from the window manager. | |
Direct input focus to this widget. | |
Return a boolean value for Tcl boolean values true and false given as parameter. | |
Return value of Tcl variable NAME. | |
Return widget which has currently the grab in this application or None. | |
Release grab for this widget if currently set. | |
Set grab for this widget. | |
Set global grab for this widget. | |
Return None, "local" or "global" if this widget has no, a local or a global grab. | |
Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. | |
Configure column INDEX of a grid. | |
Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located. | |
Set or get the status for propagation of geometry information. | |
Configure row INDEX of a grid. | |
Return a tuple of the number of column and rows in the grid. | |
Return a list of all slaves of this widget in its packing order. | |
Return a list of all existing image names. | |
Return a list of all available image types (e.g. | |
Return a list of all resource names of this widget. | |
Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located. | |
Call the mainloop of Tk. | |
Return the Tkinter instance of a widget identified by its Tcl name NAME. | |
Set a VALUE (second parameter) for an option PATTERN (first parameter). | |
Clear the option database. | |
Return the value for an option NAME for this widget with CLASSNAME. | |
Read file FILENAME into the option database. | |
Set or get the status for propagation of geometry information. | |
Return a list of all slaves of this widget in its packing order. | |
Return a list of all slaves of this widget in its packing order. | |
Set or get the status for propagation of geometry information. | |
Quit the Tcl interpreter. | |
Configure row INDEX of a grid. | |
Clear the current X selection. | |
Return the contents of the current X selection. | |
Specify a function COMMAND to call if the X selection owned by this widget is queried by another application. | |
Become owner of X selection. | |
Return owner of X selection. | |
Send Tcl command CMD to different interpreter INTERP to be executed. | |
Set Tcl variable NAME to VALUE. | |
Return a tuple of the number of column and rows in the grid. | |
Return a list of all slaves of this widget in its packing order. | |
Change the color scheme to light brown as used in Tk 3.6 and before. | |
The widget under mouse will get automatically focus. | |
Return the next widget in the focus order which follows widget which has currently the focus. | |
Return previous widget in the focus order. | |
Do not use. | |
Set a new color scheme for all widget elements. | |
Set Tcl internal variable, whether the look and feel should adhere to Motif. | |
Unbind for this widget for event SEQUENCE the function identified with FUNCID. | |
Unbind for all widgets for event SEQUENCE all functions. | |
Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE all functions. | |
Enter event loop until all pending events have been processed by Tcl. | |
Enter event loop until all idle callbacks have been called. | |
Wait until the variable is modified. | |
Wait until the visibility of a WIDGET changes (e.g. | |
Wait until a WIDGET is destroyed. | |
Wait until the variable is modified. | |
Return integer which represents atom NAME. | |
Return name of atom with identifier ID. | |
Return number of cells in the colormap for this widget. | |
Return a list of all widgets which are children of this widget. | |
Return window class name of this widget. | |
Return true if at the last color request the colormap was full. | |
Return the widget which is at the root coordinates ROOTX, ROOTY. | |
Return the number of bits per pixel. | |
Return true if this widget exists. | |
Return the number of pixels for the given distance NUMBER (e.g. | |
Return geometry string for this widget in the form "widthxheight+X+Y". | |
Return height of this widget. | |
Return identifier ID for this widget. | |
Return the name of all Tcl interpreters for this display. | |
Return true if this widget is mapped. | |
Return the window mananger name for this widget. | |
Return the name of this widget. | |
Return the name of the parent of this widget. | |
Return the pathname of the widget given by ID. | |
Rounded integer value of winfo_fpixels. | |
Return the x coordinate of the pointer on the root window. | |
Return a tuple of x and y coordinates of the pointer on the root window. | |
Return the y coordinate of the pointer on the root window. | |
Return requested height of this widget. | |
Return requested width of this widget. | |
Return tuple of decimal values for red, green, blue for COLOR in this widget. | |
Return x coordinate of upper left corner of this widget on the root window. | |
Return y coordinate of upper left corner of this widget on the root window. | |
Return the screen name of this widget. | |
Return the number of the cells in the colormap of the screen of this widget. | |
Return the number of bits per pixel of the root window of the screen of this widget. | |
Return the number of pixels of the height of the screen of this widget in pixel. | |
Return the number of pixels of the height of the screen of this widget in mm. | |
Return the number of pixels of the width of the screen of this widget in mm. | |
Return one of the strings directcolor, grayscale, pseudocolor, staticcolor, staticgray, or truecolor for the default colormodel of this screen. | |
Return the number of pixels of the width of the screen of this widget in pixel. | |
Return information of the X-Server of the screen of this widget in the form "XmajorRminor vendor vendorVersion". | |
Return the toplevel widget of this widget. | |
Return true if the widget and all its higher ancestors are mapped. | |
Return one of the strings directcolor, grayscale, pseudocolor, staticcolor, staticgray, or truecolor for the colormodel of this widget. | |
Return the X identifier for the visual for this widget. | |
Return a list of all visuals available for the screen of this widget. | |
Return the height of the virtual root window associated with this widget in pixels. | |
Return the width of the virtual root window associated with this widget in pixel. | |
Return the x offset of the virtual root relative to the root window of the screen of this widget. | |
Return the y offset of the virtual root relative to the root window of the screen of this widget. | |
Return the width of this widget. | |
Return the x coordinate of the upper left corner of this widget in the parent. | |
Return the y coordinate of the upper left corner of this widget in the parent. | |
| Inherited from Pack | |
Unmap this widget and do not use it for the packing order. | |
Return information about the packing options for this widget. | |
Pack a widget in the parent widget. | |
Pack a widget in the parent widget. | |
Unmap this widget and do not use it for the packing order. | |
Return information about the packing options for this widget. | |
| Inherited from Place | |
Place a widget in the parent widget. | |
Place a widget in the parent widget. | |
Unmap this widget. | |
Return information about the placing options for this widget. | |
| Inherited from Grid | |
Position a widget in the parent widget in a grid. | |
Position a widget in the parent widget in a grid. | |
Unmap this widget. | |
Return information about the options for positioning this widget in a grid. | |
Unmap this widget but remember the grid options. | |
| Class Variable Summary | |
|---|---|
| Inherited from Misc | |
list |
_noarg_ = ['_noarg_']
|
| Method Details |
|---|
add_list(self, list=None, name=None, id=None, flag=0, expanded_icon=None, collapsed_icon=None)Add node construction info to list |
add_node(self, name=None, id=None, flag=0, expanded_icon=None, collapsed_icon=None)Add a node during get_contents_callback() |
ascend(self, event=None)Move to immediate parent |
cursor_node(self, search)Return node under cursor |
descend(self, event=None)Move right, expanding as we go |
dnd_accept(self, source, event)Accept dnd messages, i.e. we're a legit drop target, and we do implement d&d functions. |
dnd_commit(self, source, event)Object has been dropped here |
dnd_enter(self, source, event)Get ready to drag or drag has entered widget (create drag object) |
dnd_leave(self, source, event)Finish dragging or drag has left widget (destroy drag object) |
dnd_motion(self, source, event)Move drag icon |
find_full_id(self, search)Search for a node |
first(self, event=None)Go to root node |
last(self, event=None)Go to last visible node |
move_cursor(self, node)Move cursor to node |
next(self, event=None)Move to next lower visible node |
pagedown(self, event=None)Next page |
pageup(self, event=None)Previous page |
prev(self, event=None)Move to next higher visible node |
PVT_mousefocus(self, event)Soak up event argument when moused-over |
see(self, *items)Scroll (in a series of nudges) so items are visible |
tag_bind(self, tag, seq, *args, **kw_args)Keep track of callback bindings so we can delete them later. I shouldn't have to do this!!!!
|
toggle(self, event=None)Expand/collapse subtree |
where(self, event)Determine drag location in canvas coordinates. event.x & event.y don't seem to be what we want. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:28 2005 | http://epydoc.sf.net |