I’m using GWT 2.4. Given a com.google.gwt.user.client.ui.Widget, how do I get the first child widget? For example, if the Widget represents a <div>, I’d like to know the first thing within the <div>. There is no guarantee that there will be a child widget, but if there is, I’d like to know how to get it.
All I know is this generic object class. I’m not guaranteed that this will be a widget like a FlowPanel or anything else, even though those are possibilities.
GWT widgets that can have children implement the
HasWidgetsinterface: