Author: reinhard Date: 2011-06-18 04:18:00 -0500 (Sat, 18 Jun 2011) New Revision: 10325
Modified: trunk/gnue-designer/ trunk/gnue-designer/src/forms/PagePainter/PagePainter.py Log: PagePainter _objectCreated: display labels & entries after form wizard Property changes on: trunk/gnue-designer ___________________________________________________________________ Name: bzr:revision-info - timestamp: 2011-06-01 15:22:22.130000114 -0700 committer: whizman properties: branch-nick: designer + timestamp: 2011-06-02 10:46:55.282999992 -0700 committer: whizman properties: branch-nick: designer Name: bzr:file-ids - src/base/Incubator.py 1368@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fbase%2FIncubator.py src/base/document.py 8929@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fbase%2Fdocument.py + src/forms/PagePainter/PagePainter.py 8290@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:src%2Fforms%2FPagePainter%2FPagePainter.py Name: bzr:revision-id:v4 - 937 reinhard.muel...@bytewise.at-20100426083744-iq5ahvdxf38ltx6r 938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85 939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh 940 whizman-20110504201148-w669gtbff176vhop 941 whizman-20110505231025-243w4sfxhzqcbzt2 942 whizman-20110509181949-gnbxobve89qk8pr5 943 whizman-20110509204654-xx9cb9tiuszib409 944 whizman-20110519181636-ighctsn5h1uftknz 945 whizman-20110527230256-kqjr2eb33a29zy9o 946 whizman-20110527235820-zqeownp0345308ww 947 whizman-20110601222222-rvg8tu47q0x6y6rf + 937 reinhard.muel...@bytewise.at-20100426083744-iq5ahvdxf38ltx6r 938 whizman_software_solutions_www.whizman.com-20110131201023-bmx4kgkf4erlim85 939 whizman_software_solutions_www.whizman.com-20110226005239-cn6eioyybe5p62rh 940 whizman-20110504201148-w669gtbff176vhop 941 whizman-20110505231025-243w4sfxhzqcbzt2 942 whizman-20110509181949-gnbxobve89qk8pr5 943 whizman-20110509204654-xx9cb9tiuszib409 944 whizman-20110519181636-ighctsn5h1uftknz 945 whizman-20110527230256-kqjr2eb33a29zy9o 946 whizman-20110527235820-zqeownp0345308ww 947 whizman-20110601222222-rvg8tu47q0x6y6rf 948 whizman-20110602174655-bbnm4cs5i6ht5mbg Name: bzr:text-parents - src/base/Incubator.py whizman-20110527230256-kqjr2eb33a29zy9o + src/forms/PagePainter/PagePainter.py svn-v3-single1-dHJ1bmsvZ251ZS1kZXNpZ25lcg..:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-designer:9955 Modified: trunk/gnue-designer/src/forms/PagePainter/PagePainter.py =================================================================== --- trunk/gnue-designer/src/forms/PagePainter/PagePainter.py 2011-06-18 09:17:58 UTC (rev 10324) +++ trunk/gnue-designer/src/forms/PagePainter/PagePainter.py 2011-06-18 09:18:00 UTC (rev 10325) @@ -109,8 +109,8 @@ # Right now, we assume if an object has an x,y component, it is # drawable. This won't be true when we support layout management. try: - x = object['Char:x'] - y = object['Char:y'] + object['Char:x'] + object['Char:y'] except: if not object._type == 'GFPage': return @@ -126,8 +126,14 @@ def __objectSelected(self, object): pass - def __objectCreated(self, object): - print "(Object Created)" + def __objectCreated(self, event): + object = event.object + if object == None: + return + handler = event.originator + assert log.debug("(PagePainter: Object Created: %s)" % object.getDescription()) + if handler != "Forms::PagePainter": # gnue.designer.forms.PagePainter? + self.inventory(object) def __objectModified(self, object): pass _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org https://lists.gnu.org/mailman/listinfo/commit-gnue