Example #1
0
 void releaseWidget() {
   super.releaseWidget();
   if (imageList != null) imageList.dispose();
   if (parent.lastFocus == this) parent.lastFocus = null;
   imageList = null;
   control = null;
 }
Example #2
0
 long /*int*/ gtk_focus_out_event(long /*int*/ widget, long /*int*/ event) {
   OS.GTK_WIDGET_UNSET_FLAGS(handle, OS.GTK_CAN_FOCUS);
   parent.lastFocus = this;
   return 0;
 }