[W3af-svn-notify] [Task #146806] Help with Findable (which I renamed to Searchable)
Status: Beta
Brought to you by:
andresriancho
From: SourceForge.net <no...@so...> - 2008-03-04 17:07:15
|
Task #146806 has been updated. Project: w3af Subproject: gtkUi - Phase 2 Summary: Help with Findable (which I renamed to Searchable) Complete: 100% Status: Closed Authority : andresriancho Assigned to: facundobatista Description: I tried to remove gtk.TextView objects by Searchable objects, and I had a problem. Please contact me to tell me how to perform this task. Send me an email or something. Follow-Ups: ------------------------------------------------------- Date: 2008-03-04 14:07 By: facundobatista Comment: ScrollLines can not inherit from Searchable instead of TextView, because Searchable needs to add the little bar at the bottom, so it would need to be a VBox. But if Searchable inherits VBox, stops being a TExtView, which can not happen. And if refuse to inherit both at the same time, because this way it will be container and contained at the same time, which is worse. What I did is: - (same as bfore) The box that has the textview keeps inheriting from Searchable. - (new) The box, at Searchable's init time, gives it the TextView to extend. This way, there are no more magic names in Searchable, so it's more reusable... ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=146806&group_id=170274&group_project_id=55112 |