GNOME Bugzilla – Bug 537956
Many many wrong documentation items about actions
Last modified: 2008-06-13 15:01:41 UTC
In fact, the documentation seems to be inconsistent and wrong in some places: - the Node class doctring says all actions, including eg. "activate" are available as method calls, which is obviously wrong - the Node::click() docstring correctly says that what is true for "click" is not for other actions... ... BUT it says all other actions must be invoked through "doAction", which apparently does not work. I was only able to get things work by calling the action's do() method ... and then that was only after I realized that a Node's "actions" field is not a list as documented, but a dictionnary, hashed by the action name!
I fixed a lot of this in SVN. Please reopen or file new bugs if you find more documentation problems there. Thanks!