Bug #56500 Extend Mforms GUI library functionality
Submitted: 2 Sep 2010 14:18 Modified: 2 Sep 2010 15:45
Reporter: Karsten Wutzke Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S4 (Feature request)
Version:5.2 OS:Any
Assigned to: CPU Architecture:Any
Tags: mforms, plugins, python

[2 Sep 2010 14:18] Karsten Wutzke
Description:
There are some classes in the mforms library for plugin developers might need, that aren't implemented yet:

1. TextEntry has no get_color (but it has set_color). get_color would be needed to retrieve the previous color the widget had before setting a new one (which is basically determined by the platform).

Please feel free to add unimplemented methods here as needed (add comment).

How to repeat:
n.a.
[2 Sep 2010 14:22] Karsten Wutzke
2. Another issue would be to programmatically issue clicks and changes to the widgets, so that any attached callbacks are called. This would enable synchronization of widgets without the need to duplicate the callback methods call to where the components are instantiated.
[2 Sep 2010 14:24] Karsten Wutzke
Typo: "without the need to duplicate the callback methods call..." should be "without the need to duplicate the callback methods CODE..."
[2 Sep 2010 15:47] Alfredo Kojima
2nd item is already implemented, besides the add_<callback> methods there are matching call_<callback> methods. I'm just not sure the current release have them.