Public Member Functions | Public Attributes | List of all members
TkJoyStick.tkjoystick.Stick Class Reference

Public Member Functions

def __init__ (self, canvas, x, y, r, key)
 
def calc_pol (self, x, y)
 
def drag_end (self, event)
 
def drag_start (self, event)
 
def dragging (self, event)
 
def get_pos (self)
 
def make_binds (self)
 
def set_on_drag_end (self, func)
 
def set_on_drag_start (self, func)
 
def set_on_dragging (self, func)
 

Public Attributes

 canvas
 
 coffx
 
 coffy
 
 id
 
 key
 
 line
 
 offsetx
 
 offsety
 
 on_drag_end
 
 on_drag_start
 
 on_dragging
 
 pol_text
 
 pos_x
 
 pos_y
 
 r
 
 th
 
 x
 
 xy_text
 
 y
 

Detailed Description

Definition at line 177 of file tkjoystick.py.

Constructor & Destructor Documentation

def TkJoyStick.tkjoystick.Stick.__init__ (   self,
  canvas,
  x,
  y,
  r,
  key 
)

Definition at line 178 of file tkjoystick.py.

Member Function Documentation

def TkJoyStick.tkjoystick.Stick.calc_pol (   self,
  x,
  y 
)

Definition at line 274 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.drag_end (   self,
  event 
)

Definition at line 258 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.drag_start (   self,
  event 
)

Definition at line 223 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.dragging (   self,
  event 
)

Definition at line 237 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.get_pos (   self)

Definition at line 286 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.make_binds (   self)

Definition at line 218 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.set_on_drag_end (   self,
  func 
)

Definition at line 215 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.set_on_drag_start (   self,
  func 
)

Definition at line 209 of file tkjoystick.py.

def TkJoyStick.tkjoystick.Stick.set_on_dragging (   self,
  func 
)

Definition at line 212 of file tkjoystick.py.

Member Data Documentation

TkJoyStick.tkjoystick.Stick.canvas

Definition at line 179 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.coffx

Definition at line 202 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.coffy

Definition at line 203 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.id

Definition at line 182 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.key

Definition at line 181 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.line

Definition at line 184 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.offsetx

Definition at line 191 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.offsety

Definition at line 192 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.on_drag_end

Definition at line 216 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.on_drag_start

Definition at line 210 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.on_dragging

Definition at line 213 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.pol_text

Definition at line 188 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.pos_x

Definition at line 199 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.pos_y

Definition at line 200 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.r

Definition at line 282 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.th

Definition at line 283 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.x

Definition at line 195 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.xy_text

Definition at line 186 of file tkjoystick.py.

TkJoyStick.tkjoystick.Stick.y

Definition at line 196 of file tkjoystick.py.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45