<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hello,<br>
<br>
Listing the properties of a figure with a recent Scilab release<br>
(2012-07-20), one can see that after the recently introduced<br>
<font face="Courier New, Courier, monospace">resizefcn = ""</font> <br>
property as a callback called when the window is resized, another new
one<br>
</font><tt>closerequestfcn = ""</tt><font face="Arial"><br>
is now also listed.<br>
<br>
So, i am wondering about the fact that each action on the window<br>
should create a specific property, or not. Let's say that tomorrow<br>
a user claims for a callback to be used when the window is iconified,<br>
or when it is maximized, etc. Would we create other specific attributes<br>
</font><tt>iconifyfcn = ""<br>
maximizefcn = ""<br>
</tt><font face="Arial">etc..<br>
<br>
What about rather introducing a single callback with a list of
predefined<br>
1st argument = name of the triggering action : "resize" "iconify"
"close" etc<br>
that would be called each time that one of these events will occur?<br>
<br>
Wouldn't it be a more general and more open solution?<br>
<br>
Hoping to read other contributions<br>
<br>
Best regards<br>
Samuel Gougeon<br>
<br>
</font>
</body>
</html>