pyWinAuto: pywinauto.controls.common_controls.UpDownWrapper -- Class that wraps Windows UpDown common control

UpDownWrapper

Class that wraps Windows UpDown common control


Attributes

a handle

None

a windowclasses

['msctls_updown32', 'msctls_updown']

a friendlyclassname

'UpDown'

Methods

f __eq__(self, other) ...

Returns True if the handles of both controls are the same

f __init__(self, hwnd) ...

Initialise the instance

f GetValue(self) ...

Get the current value of the UpDown control

f GetBase(self) ...

Get the base the UpDown control (either 10 or 16)

f GetRange(self) ...

Return the lower, upper range of the up down control

f GetBuddyControl(self) ...

Get the buddy control of the updown control

f SetValue(self, new_pos) ...

Set the value of the of the UpDown control to some integer value

f Increment(self) ...

Increment the number in the UpDown control by one

f Decrement(self) ...

Decrement the number in the UpDown control by one

See the source for more information.