Back to index

python3.2  3.2.2
Public Member Functions
tkinter.XView Class Reference
Inheritance diagram for tkinter.XView:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def xview
def xview_moveto
def xview_scroll

Detailed Description

Mix-in class for querying and changing the horizontal position
of a widget's window.

Definition at line 1406 of file __init__.py.


Member Function Documentation

def tkinter.XView.xview (   self,
  args 
)
Query and change the horizontal position of the view.

Definition at line 1410 of file __init__.py.

01410 
01411     def xview(self, *args):
01412         """Query and change the horizontal position of the view."""
01413         res = self.tk.call(self._w, 'xview', *args)
01414         if not args:
01415             return self._getdoubles(res)

Here is the call graph for this function:

def tkinter.XView.xview_moveto (   self,
  fraction 
)
Adjusts the view in the window so that FRACTION of the
total width of the canvas is off-screen to the left.

Definition at line 1416 of file __init__.py.

01416 
01417     def xview_moveto(self, fraction):
01418         """Adjusts the view in the window so that FRACTION of the
01419         total width of the canvas is off-screen to the left."""
01420         self.tk.call(self._w, 'xview', 'moveto', fraction)

def tkinter.XView.xview_scroll (   self,
  number,
  what 
)
Shift the x-view according to NUMBER which is measured in "units"
or "pages" (WHAT).

Definition at line 1421 of file __init__.py.

01421 
01422     def xview_scroll(self, number, what):
01423         """Shift the x-view according to NUMBER which is measured in "units"
01424         or "pages" (WHAT)."""
01425         self.tk.call(self._w, 'xview', 'scroll', number, what)
01426 


The documentation for this class was generated from the following file: