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

◆ __init__()

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

Definition at line 178 of file tkjoystick.py.

Member Function Documentation

◆ calc_pol()

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

Definition at line 274 of file tkjoystick.py.

◆ drag_end()

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

Definition at line 258 of file tkjoystick.py.

◆ drag_start()

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

Definition at line 223 of file tkjoystick.py.

◆ dragging()

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

Definition at line 237 of file tkjoystick.py.

◆ get_pos()

def TkJoyStick.tkjoystick.Stick.get_pos (   self)

Definition at line 286 of file tkjoystick.py.

◆ make_binds()

def TkJoyStick.tkjoystick.Stick.make_binds (   self)

Definition at line 218 of file tkjoystick.py.

◆ set_on_drag_end()

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

Definition at line 215 of file tkjoystick.py.

◆ set_on_drag_start()

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

Definition at line 209 of file tkjoystick.py.

◆ set_on_dragging()

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

Definition at line 212 of file tkjoystick.py.

Member Data Documentation

◆ canvas

TkJoyStick.tkjoystick.Stick.canvas

Definition at line 179 of file tkjoystick.py.

◆ coffx

TkJoyStick.tkjoystick.Stick.coffx

Definition at line 202 of file tkjoystick.py.

◆ coffy

TkJoyStick.tkjoystick.Stick.coffy

Definition at line 203 of file tkjoystick.py.

◆ id

TkJoyStick.tkjoystick.Stick.id

Definition at line 182 of file tkjoystick.py.

◆ key

TkJoyStick.tkjoystick.Stick.key

Definition at line 181 of file tkjoystick.py.

◆ line

TkJoyStick.tkjoystick.Stick.line

Definition at line 184 of file tkjoystick.py.

◆ offsetx

TkJoyStick.tkjoystick.Stick.offsetx

Definition at line 191 of file tkjoystick.py.

◆ offsety

TkJoyStick.tkjoystick.Stick.offsety

Definition at line 192 of file tkjoystick.py.

◆ on_drag_end

TkJoyStick.tkjoystick.Stick.on_drag_end

Definition at line 216 of file tkjoystick.py.

◆ on_drag_start

TkJoyStick.tkjoystick.Stick.on_drag_start

Definition at line 210 of file tkjoystick.py.

◆ on_dragging

TkJoyStick.tkjoystick.Stick.on_dragging

Definition at line 213 of file tkjoystick.py.

◆ pol_text

TkJoyStick.tkjoystick.Stick.pol_text

Definition at line 188 of file tkjoystick.py.

◆ pos_x

TkJoyStick.tkjoystick.Stick.pos_x

Definition at line 199 of file tkjoystick.py.

◆ pos_y

TkJoyStick.tkjoystick.Stick.pos_y

Definition at line 200 of file tkjoystick.py.

◆ r

TkJoyStick.tkjoystick.Stick.r

Definition at line 282 of file tkjoystick.py.

◆ th

TkJoyStick.tkjoystick.Stick.th

Definition at line 283 of file tkjoystick.py.

◆ x

TkJoyStick.tkjoystick.Stick.x

Definition at line 195 of file tkjoystick.py.

◆ xy_text

TkJoyStick.tkjoystick.Stick.xy_text

Definition at line 186 of file tkjoystick.py.

◆ y

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 Thu Sep 8 2022 02:24:09