Method: Fox::FXWindow#each_child
- Defined in:
- lib/fox16/core.rb
#each_child ⇒ Object
Iterate over the child windows for this window. Note that this only reaches the direct child windows for this window and no deeper descendants. To traverse the entire widget tree, use #each_child_recursive.
301 302 303 304 305 306 307 308 |
# File 'lib/fox16/core.rb', line 301 def each_child # :yields: child child = self.first while child next_child = child.next yield child child = next_child end end |