| |
- RECT(Structure)
-
- RECT
- Structure(_ctypes._CData)
-
- APPBARDATA
-
- ApplicationBar
class APPBARDATA(Structure) |
|
Structure for storing AppBar message information
typedef struct _AppBarData {
DWORD cbSize;
HWND hWnd;
UINT uCallbackMessage;
UINT uEdge;
RECT rc;
LPARAM lParam;
} APPBARDATA, *PAPPBARDATA; |
|
- Method resolution order:
- APPBARDATA
- Structure
- _ctypes._CData
- object
Methods defined here:
- __repr__(self)
- __str__ = __repr__(self)
Data and other attributes defined here:
- __dict__ = <dictproxy object at 0x0169F7B0>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'APPBARDATA' objects>
- list of weak references to the object (if defined)
- cbSize = <_ctypes.CField object at 0x015D7E60>
- hWnd = <_ctypes.CField object at 0x015D7C20>
- lParam = <_ctypes.CField object at 0x016041A0>
- rc = <_ctypes.CField object at 0x01604360>
- uCallbackMessage = <_ctypes.CField object at 0x01604260>
- uEdge = <_ctypes.CField object at 0x01604280>
Methods inherited from Structure:
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes inherited from Structure:
- __new__ = <built-in method __new__ of _ctypes.StructType object at 0x0170A890>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from _ctypes._CData:
- __hash__(...)
- x.__hash__() <==> hash(x)
|
class ApplicationBar(APPBARDATA) |
|
Convenience wrapper around APPBARDATA |
|
- Method resolution order:
- ApplicationBar
- APPBARDATA
- Structure
- _ctypes._CData
- object
Methods defined here:
- activate(self)
- Uniform system of application activation
- new(self, hWnd, message=2038, edge='t')
- Register the application bar with the system
- remove(self)
- Remove this appbar from the system's set
- setPosition(self, rect=(-1, -1, -1, -1))
- Set position of appbar, reserving area of screen
Return the rectangle suggested by the system
- updatePosition(self, rect)
- Inform system of updated position
Data and other attributes defined here:
- ABE_BOTTOM = 3
- ABE_LEFT = 0
- ABE_RIGHT = 2
- ABE_TOP = 1
- ABM_ACTIVATE = 6
- ABM_GETAUTOHIDEBAR = 7
- ABM_GETSTATE = 4
- ABM_GETTASKBARPOS = 5
- ABM_NEW = 0
- ABM_QUERYPOS = 2
- ABM_REMOVE = 1
- ABM_SETAUTOHIDEBAR = 8
- ABM_SETPOS = 3
- ABM_WINDOWPOSCHANGED = 9
- ABN_FULLSCREENAPP = 2
- ABN_POSCHANGED = 1
- ABN_STATECHANGE = 0
- ABN_WINDOWARRANGE = 3
- ABS_ALWAYSONTOP = 2
- ABS_AUTOHIDE = 1
- cbSize = <_ctypes.CField object at 0x01604860>
- edgeMapping = {0: 0, 1: 1, 2: 2, 3: 3, 'b': 3, 'l': 0, 'r': 2, 't': 1}
- hWnd = <_ctypes.CField object at 0x016046C0>
- lParam = <_ctypes.CField object at 0x01608440>
- position = (-1, -1)
- rc = <_ctypes.CField object at 0x01608400>
- uCallbackMessage = <_ctypes.CField object at 0x01608DC0>
- uEdge = <_ctypes.CField object at 0x01608380>
Methods inherited from APPBARDATA:
- __repr__(self)
- __str__ = __repr__(self)
Data and other attributes inherited from APPBARDATA:
- __dict__ = <dictproxy object at 0x0169F790>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'APPBARDATA' objects>
- list of weak references to the object (if defined)
Methods inherited from Structure:
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes inherited from Structure:
- __new__ = <built-in method __new__ of _ctypes.StructType object at 0x0170A890>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from _ctypes._CData:
- __hash__(...)
- x.__hash__() <==> hash(x)
|
class RECT(RECT) |
|
Simple RECT sub-class with repr for debugging
fields are: left, right, top, bottom |
|
- Method resolution order:
- RECT
- RECT
- Structure
- _ctypes._CData
- object
Methods defined here:
- __repr__(self)
Data and other attributes defined here:
- bottom = <_ctypes.CField object at 0x015D7C60>
- left = <_ctypes.CField object at 0x015D7700>
- right = <_ctypes.CField object at 0x015D7C40>
- top = <_ctypes.CField object at 0x015D7AA0>
Data and other attributes inherited from RECT:
- __dict__ = <dictproxy object at 0x0169F850>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'RECT' objects>
- list of weak references to the object (if defined)
Methods inherited from Structure:
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes inherited from Structure:
- __new__ = <built-in method __new__ of _ctypes.StructType object at 0x0170A890>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from _ctypes._CData:
- __hash__(...)
- x.__hash__() <==> hash(x)
| |