File: wx.lib.eventwatcher.EventLog.txt

package info (click to toggle)
wxpython4.0 4.0.7%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 210,992 kB
  • sloc: cpp: 888,989; python: 226,808; makefile: 52,078; ansic: 45,837; sh: 3,014; xml: 1,534; javascript: 436; perl: 264
file content (126 lines) | stat: -rw-r--r-- 4,935 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.eventwatcher

.. highlight:: python



.. _wx.lib.eventwatcher.EventLog:

==========================================================================================================================================
|phoenix_title|  **wx.lib.eventwatcher.EventLog**
==========================================================================================================================================

A virtual listctrl that displays information about the watched events.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>EventLog</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.lib.eventwatcher.EventLog_inheritance.png" alt="Inheritance diagram of EventLog" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.eventwatcher.EventLog.html" title="wx.lib.eventwatcher.EventLog" alt="" coords="5,469,223,499"/> <area shape="rect" id="node2" href="wx.ListCtrl.html" title="wx.ListCtrl" alt="" coords="69,392,159,421"/> <area shape="rect" id="node3" href="wx.Control.html" title="wx.Control" alt="" coords="68,315,160,344"/> <area shape="rect" id="node4" href="wx.Window.html" title="wx.Window" alt="" coords="65,237,163,267"/> <area shape="rect" id="node5" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="49,160,179,189"/> <area shape="rect" id="node6" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="55,83,173,112"/> <area shape="rect" id="node7" href="wx.Object.html" title="wx.Object" alt="" coords="11,5,97,35"/> <area shape="rect" id="node8" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="122,5,229,35"/> </map> 
   </p>
   </div>

|


|super_classes| Known Superclasses
==================================

:class:`wx.ListCtrl`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.eventwatcher.EventLog.__init__`                                   Initialize self.  See help(type(self)) for accurate signature.
:meth:`~wx.lib.eventwatcher.EventLog.append`                                     
:meth:`~wx.lib.eventwatcher.EventLog.clear`                                      
:meth:`~wx.lib.eventwatcher.EventLog.OnGetItemAttr`                              OnGetItemAttr(item) -> ListItemAttr
:meth:`~wx.lib.eventwatcher.EventLog.OnGetItemImage`                             OnGetItemImage(item) -> int
:meth:`~wx.lib.eventwatcher.EventLog.OnGetItemText`                              OnGetItemText(item, column) -> String
:meth:`~wx.lib.eventwatcher.EventLog.onItemActivated`                            
:meth:`~wx.lib.eventwatcher.EventLog.onItemSelected`                             
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: EventLog(wx.ListCtrl)

   A virtual listctrl that displays information about the watched events.

   .. method:: __init__(self, \*args, \*\*kw)

      Initialize self.  See help(type(self)) for accurate signature.


   .. method:: append(self, evt)


   .. method:: clear(self)


   .. method:: OnGetItemAttr(self, item):  return None

      OnGetItemAttr(item) -> ListItemAttr
      
      This function may be overridden in the derived class for a control
      with wxLC_VIRTUAL style.


   .. method:: OnGetItemImage(self, item): return -1

      OnGetItemImage(item) -> int
      
      This function must be overridden in the derived class for a control
      with wxLC_VIRTUAL style having an "image list" (see SetImageList(); if
      the control doesn't have an image list, it is not necessary to
      override it).


   .. method:: OnGetItemText(self, item, col)

      OnGetItemText(item, column) -> String
      
      This function must be overridden in the derived class for a control
      with wxLC_VIRTUAL style.


   .. method:: onItemActivated(self, evt)


   .. method:: onItemSelected(self, evt)