1) Enabling tier3 also initializes the Tk console (I use tkcon by default), so
puts output goes there. Add "console show" or "tkcon show" early in your
script if you want the console available at start. Otherwise, you can get to
it from the Poetics toolbox (pressing F7 should open the toolbox).
2) Enabling tier3 makes the tier3 objects available via autoloading and
adds bindings for a right-click popup menu and F7 to bring up the toolbox.
Take a look at tier3-poetics.tcl, specifically the minimalInit method. You
can't really shut off tier3, but you could remove the bindings to disable the
popup menu and toolbox.
3) Other than the bindings described above, tier3 shouldn't really do anything
to the event processing. Please describe what kind of different behavior
you're seeing on the canvas, if it's more than the right-click popup.
Remember that tier3 is pretty experimental and not really ready for end-user
use (I try to make that point in my Tcl2007 paper on Poet). Playing around
in the Object Editor will often cause the program to crash, but it's a great way
to inspect a running Poet program and make modifications.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When the canvas is clicked a rectangle is put on it. Then the button click event is generated for a canvas over the rectangle.
E.g. one wants to create a new shape on a screen. He pushes button-1 and drag it, on the canvas a new object appeared, so the one resizes it.
With Tier 3 enabled dragging is not working.
I will work on it more to see where the message/event is lost, may be will reconfigure my event chain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's weird, Poetics doesn't mess with the button 1 click or drag
bindings. Unless you're on a Mac, in which case control-button-1 is
bound (it pops up the menu). Try, in the console, checking all bindings
on the canvas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have the following questions on Poet when Tier 3 is enabled:
Thanks.
1) Enabling tier3 also initializes the Tk console (I use tkcon by default), so
puts output goes there. Add "console show" or "tkcon show" early in your
script if you want the console available at start. Otherwise, you can get to
it from the Poetics toolbox (pressing F7 should open the toolbox).
2) Enabling tier3 makes the tier3 objects available via autoloading and
adds bindings for a right-click popup menu and F7 to bring up the toolbox.
Take a look at tier3-poetics.tcl, specifically the minimalInit method. You
can't really shut off tier3, but you could remove the bindings to disable the
popup menu and toolbox.
3) Other than the bindings described above, tier3 shouldn't really do anything
to the event processing. Please describe what kind of different behavior
you're seeing on the canvas, if it's more than the right-click popup.
Remember that tier3 is pretty experimental and not really ready for end-user
use (I try to make that point in my Tcl2007 paper on Poet). Playing around
in the Object Editor will often cause the program to crash, but it's a great way
to inspect a running Poet program and make modifications.
Regarding 3:
I have the following functionality (simplified):
When the canvas is clicked a rectangle is put on it. Then the button click event is generated for a canvas over the rectangle.
E.g. one wants to create a new shape on a screen. He pushes button-1 and drag it, on the canvas a new object appeared, so the one resizes it.
With Tier 3 enabled dragging is not working.
I will work on it more to see where the message/event is lost, may be will reconfigure my event chain.
That's weird, Poetics doesn't mess with the button 1 click or drag
bindings. Unless you're on a Mac, in which case control-button-1 is
bound (it pops up the menu). Try, in the console, checking all bindings
on the canvas.
I've rebuilt a bit my event chain, now the issue cannot be replicated.