Back to index

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

List of all members.

Public Member Functions

def yview
def yview_moveto
def yview_scroll

Detailed Description

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

Definition at line 1427 of file __init__.py.


Member Function Documentation

def tkinter.YView.yview (   self,
  args 
)
Query and change the vertical position of the view.

Definition at line 1431 of file __init__.py.

01431 
01432     def yview(self, *args):
01433         """Query and change the vertical position of the view."""
01434         res = self.tk.call(self._w, 'yview', *args)
01435         if not args:
01436             return self._getdoubles(res)

Here is the call graph for this function:

def tkinter.YView.yview_moveto (   self,
  fraction 
)
Adjusts the view in the window so that FRACTION of the
total height of the canvas is off-screen to the top.

Definition at line 1437 of file __init__.py.

01437 
01438     def yview_moveto(self, fraction):
01439         """Adjusts the view in the window so that FRACTION of the
01440         total height of the canvas is off-screen to the top."""
01441         self.tk.call(self._w, 'yview', 'moveto', fraction)

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

Definition at line 1442 of file __init__.py.

01442 
01443     def yview_scroll(self, number, what):
01444         """Shift the y-view according to NUMBER which is measured in
01445         "units" or "pages" (WHAT)."""
01446         self.tk.call(self._w, 'yview', 'scroll', number, what)
01447 


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