Displaying 1 result from an estimated 1 matches for "on_iconize".
2007 Jun 26
0
[1076] trunk/wxruby2/samples/etc/activation.rb: Added sample of IconizeEvent to activation sample
...ot;>@@ -40,8 +40,18 @@
</span><span class="cx"> evt_menu(Wx::ID_ABOUT) { on_about }
</span><span class="cx">
</span><span class="cx"> evt_activate { | e | on_activate(e) }
</span><ins>+ evt_iconize { | e | on_iconize(e) }
</ins><span class="cx"> end
</span><span class="cx">
</span><ins>+
+ def on_iconize(event)
+ if event.iconized
+ puts "Frame ''#{get_title}'' was iconized"
+ else
+ puts "Frame ''...