Action Editor resurracted
John Henry <[email protected]> Sat, 16 Apr 2011 19:25:58 -0700 (PDT)
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
--===============8653110659411745390==
Content-Type: multipart/alternative; boundary="0-377814879-1303007158=:56088"
--0-377814879-1303007158=:56088
Content-Type: text/plain; charset=us-ascii
In 2004, there was a experimentalResourceEditor released with PythonCard. To be
honest, it wasn't very good (in my humble opinion). However, it had one feature
that I like a lot - the Action Editor. This is a dialog for selecting which
action (or methods) to activate for a particular widget. For instance, if you
created a button, you can select mouseClick, mouseMove, and so forth. It was
very nice because now I don't have to memorize which widget can do what. I just
select that from a list.
It appears the code was never finished - or at least to the degree I like to see
it. With a later release of layoutEditor (not sure if it was later or not but
nonetheless, layoutEditor is what I use), this feature was dropped - or never
included in layoutEditor.
Well, I like the feature so much that I decided to have it resurrected. With
the package uploaded (need to overlay on top of the existing one - do your
backup of the entire Pythoncard directory because I did some mod to model.py and
so forth), you will see a ActionEditor button in the Property Editor window and
when clicked, brings up the original ActionEditor (cleaned up and debugged).
In addition to just setting the actionBinding of the widget, I went a little
further: it actually generates a code-stub for each of those actions (!!!)
which helps me tremendously. I hope this mod is useful to othres.
BTW: A minor tweak with this version of layoutEditor - when you create a new
project, you can select which FrameClass to use. The default is
model.Background, of course.
Have fun with it:
https://sourceforge.net/tracker/?func=detail&aid=3288344&group_id=19015&atid=369015 --
John Henry
--0-377814879-1303007158=:56088
Content-Type: text/html; charset=us-ascii
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; color: black; "></div><div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">In 2004, there was a experimentalResourceEditor released with PythonCard. To be honest, it wasn't very good (in my humble opinion). However, it had one feature that I like a lot - the Action Editor. This is a dialog for selecting which action (or methods) to activate for a particular widget. For instance, if you created a button, you can select mouseClick, mouseMove, and so forth. It was very nice be
cause now I don't have to memorize which widget can do what. I just select that from a list.</font></div><div><font class="Apple-style-span" face="'times new
roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">It appears the code was never finished - or at least to the degree I like to see it. With a later release of layoutEditor (not sure if it was later or not but nonetheless, layoutEditor is what I use), this feature was dropped - or never included in layoutEditor.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Well, I like the feature so much that I decided to have it resurrected. With the package uploaded (need to overlay on top of the existing one - do your backup of the entire Pythoncard
directory because I did some mod to model.py and so forth), you will see a ActionEditor button in the Property Editor window and when clicked, brings up the original
ActionEditor (cleaned up and debugged). </font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">In addition to just setting the actionBinding of the widget, I went a little further: it actually generates a code-stub for each of those actions (!!!) which helps me tremendously. I hope this mod is useful to othres.</font></div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3">BTW: A
minor tweak with this version of layoutEditor - when you create a new project, you can select which FrameClass to use. The default is model.Background, of
course.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3">Have fun with it:</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><a href="https://sourceforge.net/tracker/?func=detail&aid=3288344&group_id=19015&atid=369015">https://sourceforge.net/tracker/?func=detail&aid=3288344&group_id=19015&atid=369015</a></font></div> </font></div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3" sty
le="color: black; ">--</font><br><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3" style="color: black; ">John
Henry</font><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: black; "><div><div><div><div style="color: black; font-family: times, serif; font-size: 12pt; "></div>
</div><meta http-equiv="x-dns-prefetch-control" content="on"></div></div></blockquote><div style="position: fixed; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; color: black; "></div>
</div></body></html>
--0-377814879-1303007158=:56088--
--===============8653110659411745390==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
--===============8653110659411745390==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
--===============8653110659411745390==--