View Full Version : Manual update

February 9th, 2009, 04:02 AM
In when an update of the manual with all the novelties of the version 2 ?

February 11th, 2009, 02:27 AM
No foreseen update?

Rob H
February 11th, 2009, 09:44 AM
When time permits I guess.

February 11th, 2009, 10:29 AM
Many of the new features appeared, one do not maybe use them because we ignore that they exist what is pity

February 25th, 2009, 06:37 AM
Could we have the functions which were added since the last version of the help ?
There are certainly interesting functions, but we do not know them

Rob H
February 25th, 2009, 06:59 AM
Okay, here's a list - not sure how complete it is though

Element methods

elem:UpdateState() -- force the state rules to be recomputed
elem:Repaint() -- force a repaint

elem:SendBackward() -- these 4 methods let you change the Z-order of elements (note that these only apply while the current page is displayed - if you reload the page they will return to their original positions.

elem:GetScheme() -- returns a Scheme object - see later
elem:GetUnboundName() -- returns the raw name of the element - e.g. if you have an element with a <^> part then this will be included as such in the name of the element.
elem:GetPath() -- returns the path from the root of the page for the element
elem:GetUnboundPath() -- returns the path from the root of the page in unbound form
elem:GetIDTag() -- returns the ID tag for the element

Scheme methods (a scheme is returned by elem:GetScheme())

r, g, b = scheme:GetForeground()
r, g, b = scheme:GetBackground() -- return the foreground and background colours as individual RGB colours

scheme:SetForeground(r, g, b, [a])
scheme:SetBackground(r, g, b, [a]) -- set the foreground and background colours of the scheme from r, g, b, and optional alpha parameters. Note that currently the alpha parameter isn't supported. You should call elem:Repaint() to force an element to be redrawn after changing a scheme.

February 25th, 2009, 07:11 AM
Ok, Thank You