On 06/10/11 05:26, GKalman wrote:
(1) Do the actions
defined thru the "bindings" and associated callback-functions "belong" to the
Spring class or the GUI class?
The functions bound directly to input events such as mouse clicks
and movements should probably be part of the GUI. You will probably
On Wed, Oct 5, 2011 at 11:26 AM, GKalman wrote:
> I'm trying to separate the GUI and Non-GUI type classes in my script. *For
> example:
> * Say, I have a Spring class ( with all the non-GUI type attributes of a
> mechanical Spring) and a DisplayBoard class (for all the Tkinter type
> displays on
Hi again,
Thus spoketh Michael Lange
unto us on Wed, 5 Oct 2011 16:48:13 +0200:
(...)
> The following appears to work here:
>
(...)
I found a much better implementation here:
http://wiki.tcl.tk/4018
"Translated" into python this might look like:
root = Tk()
t = Text(ro
I'm trying to separate the GUI and Non-GUI type classes in my script.
For example:
Say, I have a Spring class ( with all the non-GUI type attributes of a
mechanical Spring) and a DisplayBoard class (for all the Tkinter type
displays on a Canvas object).
For simplicity, assume I want to drag a
Hi,
Thus spoketh Alessandro Magni
unto us on Wed, 5 Oct 2011 14:40:30 +0200:
> Hi everybody,
> I'm looking for some directions, while programming a very simple
> editor (supporting basic formatting)
>
> The window where the user writes is a Text widget (named: text), where
> I put a tag 'b' to
Hi everybody,
I'm looking for some directions, while programming a very simple
editor (supporting basic formatting)
The window where the user writes is a Text widget (named: text), where
I put a tag 'b' to set the text where this tag applies to bold.
This is not a problem when I apply the bold to