Edit item style from a script

Bug #1378704 reported by hilaire
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II

Bug Description

From an user script, we want to edit the style of any items: to change its colour, name, shapes, ...

It requires the access to the item costume. As for now, a script receives as argument mathItem, we can change it to costume, thus giving access to both costume and mathItem instances.

Revision history for this message
hilaire (hilaire-fernandes) wrote :

We can retain backward compatibility in most case by implementing DNU message in the DrGCostume class. The DNU method will just forwad the message to the mathItem instance.

Changed in drgeo:
status: New → In Progress
Revision history for this message
hilaire (hilaire-fernandes) wrote :

Regarding the complete new script architecture (script becomes first class citizen) it is not possible to retain compatibility.

Changed in drgeo:
status: In Progress → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers