commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue common/doc/technotes/00008.txt common/doc/...


From: Jason Cater
Subject: gnue common/doc/technotes/00008.txt common/doc/...
Date: Thu, 12 Dec 2002 00:16:06 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/12/12 00:16:05

Modified files:
        common/doc/technotes: 00008.txt index.html index.txt 
        designer/src   : PropertyEditor.py 
Added files:
        common/doc/technotes: 00009.txt 

Log message:
        more futile attempts to find the segfault issue in designer

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/technotes/00009.txt?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/technotes/00008.txt.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/technotes/index.html.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/technotes/index.txt.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/PropertyEditor.py.diff?tr1=1.32&tr2=1.33&r1=text&r2=text

Patches:
Index: gnue/common/doc/technotes/00008.txt
diff -c gnue/common/doc/technotes/00008.txt:1.1 
gnue/common/doc/technotes/00008.txt:1.2
*** gnue/common/doc/technotes/00008.txt:1.1     Mon Oct  7 19:13:29 2002
--- gnue/common/doc/technotes/00008.txt Thu Dec 12 00:16:05 2002
***************
*** 61,67 ****
     * dispatchEvent(event)
     
       This method takes an Event() instance and passes it to the 
!      EventController for propogation throughout the event model. 
       
       For example, take our donut factory class.  When fresh donuts are 
       available, it might dispatch the 'FreshDonutsReady': 
--- 61,67 ----
     * dispatchEvent(event)
     
       This method takes an Event() instance and passes it to the 
!      EventController for propagation throughout the event model. 
       
       For example, take our donut factory class.  When fresh donuts are 
       available, it might dispatch the 'FreshDonutsReady': 
***************
*** 72,77 ****
--- 72,89 ----
       to receive that event in order to dispatch it.  In other words,
       DonutFactory doesn't care what happens when the FreshDonutsReady event
       is raised.
+      
+      As of GNUe-Common 0.5.0, dispatchEvent can be passed a string, followed 
+      by an arbitrary number of named parameters.  This will implicitly create
+      an event.  For example, the following two statements are now equivalent: 
+ 
+            self.dispatchEvent(Event('FreshDonutsReady',quantity=48))
+ 
+            self.dispatchEvent('FreshDonutsReady',quantity=48)
+ 
+      If you need a result or an error code from an event, you will still need
+      to explicitly create an event to pass to dispatchEvent. 
+ 
  
  
  Event
***************
*** 89,95 ****
  
     Event.x = 1
     Event.y = 2
!    Event.color = 'Blue'1
  
  
  An event has the following methods/attributes:
--- 101,107 ----
  
     Event.x = 1
     Event.y = 2
!    Event.color = 'Blue'
  
  
  An event has the following methods/attributes:
Index: gnue/common/doc/technotes/index.html
diff -c gnue/common/doc/technotes/index.html:1.5 
gnue/common/doc/technotes/index.html:1.6
*** gnue/common/doc/technotes/index.html:1.5    Mon Oct  7 19:13:29 2002
--- gnue/common/doc/technotes/index.html        Thu Dec 12 00:16:05 2002
***************
*** 4,10 ****
  Tech Notes Index
  </title>
  <body>
! <h1>Tech Notes Index</h1>
  
  
  <h3>Current Tech Notes</h3>
--- 4,10 ----
  Tech Notes Index
  </title>
  <body>
! <h1>GNUe Common Tech Notes Index</h1>
  
  
  <h3>Current Tech Notes</h3>
***************
*** 21,26 ****
--- 21,27 ----
  <tr><td><a href="00006.txt">00006.txt</a></td><td>Trigger Extension for 
datasources</td></tr>
  <tr><td><a href="00007.txt">00007.txt</a></td><td>Use of site_config.cfg to 
ease distro package creation</td></tr>
  <tr><td><a href="00008.txt">00008.txt</a></td><td>Overview of 
gnue.common.events</td></tr>
+ <tr><td><a href="00009.txt">00009.txt</a></td><td>Using GClientApp's 
interactive debugger</td></tr>
  </table>
  
  
Index: gnue/common/doc/technotes/index.txt
diff -c gnue/common/doc/technotes/index.txt:1.7 
gnue/common/doc/technotes/index.txt:1.8
*** gnue/common/doc/technotes/index.txt:1.7     Mon Oct  7 19:13:29 2002
--- gnue/common/doc/technotes/index.txt Thu Dec 12 00:16:05 2002
***************
*** 1,5 ****
  
! Tech Notes Index
  
  
  ==============================================================================
--- 1,5 ----
  
! GNUe Common Tech Notes Index
  
  
  ==============================================================================
***************
*** 17,22 ****
--- 17,23 ----
  00006.txt   Trigger Extension for datasources
  00007.txt   Use of site_config.cfg to ease distro package creation
  00008.txt   Overview of gnue.common.events
+ 00009.txt   Using GClientApp's interactive debugger
  ----------  ------------------------------------------------------------------
  
  
Index: gnue/designer/src/PropertyEditor.py
diff -c gnue/designer/src/PropertyEditor.py:1.32 
gnue/designer/src/PropertyEditor.py:1.33
*** gnue/designer/src/PropertyEditor.py:1.32    Tue Dec 10 01:48:04 2002
--- gnue/designer/src/PropertyEditor.py Thu Dec 12 00:16:05 2002
***************
*** 262,269 ****
          oldVal = {attr: None}
        self.object.__dict__[xkey] = self.attributes[attr]['Typecast'](value)
        newVal = {attr: self.object.__dict__[xkey]}
-       print oldVal
-       print newVal
        self.editor.dispatchEvent('ObjectModified',
                           object=self.object,
                           originator=self,
--- 262,267 ----
***************
*** 272,277 ****
--- 270,276 ----
        evt.Skip()
      except ValueError:
        wxBell()
+ 
  
  #
  #



reply via email to

[Prev in Thread] Current Thread [Next in Thread]