racket/collects/mred/private/wx/gtk
Matthew Flatt 7da127227a gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
..
button.rkt clean up 2010-11-05 15:54:49 -06:00
canvas.rkt cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
check-box.rkt clean up 2010-11-05 15:54:49 -06:00
choice.rkt clean up 2010-11-05 15:54:49 -06:00
client-window.rkt clean up 2010-11-05 15:54:49 -06:00
clipboard.rkt clean up 2010-11-05 15:54:49 -06:00
colordialog.rkt avoid functions not available in Debian Stable 2010-11-05 15:54:52 -06:00
combo.rkt clean up 2010-11-05 15:54:49 -06:00
const.rkt clean up 2010-11-05 15:54:49 -06:00
cursor.rkt clean up 2010-11-05 15:54:49 -06:00
dc.rkt gtk: initialize canvas backing to white 2010-11-07 07:16:12 -07:00
dialog.rkt clean up 2010-11-05 15:54:49 -06:00
filedialog.rkt clean up 2010-11-05 15:54:49 -06:00
frame.rkt gtk & cocoa: frame iconize repairs 2010-11-26 08:33:59 -07:00
gauge.rkt clean up 2010-11-05 15:54:49 -06:00
gcwin.rkt clean up 2010-11-05 15:54:49 -06:00
gl-context.rkt clean up 2010-11-05 15:54:49 -06:00
group-panel.rkt clean up 2010-11-05 15:54:49 -06:00
init.rkt clean up 2010-11-05 15:54:49 -06:00
item.rkt clean up 2010-11-05 15:54:49 -06:00
keycode.rkt clean up 2010-11-05 15:54:49 -06:00
keymap.rkt clean up 2010-11-05 15:54:49 -06:00
list-box.rkt clean up 2010-11-05 15:54:49 -06:00
menu-bar.rkt clean up 2010-11-05 15:54:49 -06:00
menu-item.rkt clean up 2010-11-05 15:54:49 -06:00
menu.rkt clean up 2010-11-05 15:54:49 -06:00
message.rkt clean up 2010-11-05 15:54:49 -06:00
panel.rkt clean up 2010-11-05 15:54:49 -06:00
pixbuf.rkt clean up 2010-11-05 15:54:49 -06:00
platform.rkt clean up 2010-11-05 15:54:49 -06:00
printer-dc.rkt clean up 2010-11-05 15:54:49 -06:00
procs.rkt fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
queue.rkt fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
radio-box.rkt clean up 2010-11-05 15:54:49 -06:00
README.txt
slider.rkt clean up 2010-11-05 15:54:49 -06:00
stddialog.rkt clean up 2010-11-05 15:54:49 -06:00
style.rkt clean up 2010-11-05 15:54:49 -06:00
tab-panel.rkt clean up 2010-11-05 15:54:49 -06:00
types.rkt clean up 2010-11-05 15:54:49 -06:00
unique.rkt clean up 2010-11-05 15:54:49 -06:00
utils.rkt destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
w32.rkt
widget.rkt clean up 2010-11-05 15:54:49 -06:00
win32.rkt
window.rkt cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
x11.rkt clean up 2010-11-05 15:54:49 -06:00

Allocation rules:

 * Use `as-gtk-allocation' when creating a Gtk widget that is the main
   container for a given window<%> object. When the resulting
   reference becomes unreachable, the widget will be released with
   gtk_widget_destroy() through a finalizer.

 * Use `atomically' to create and attach a sub-widget within the main
   widget.  Don't use gtk_widget_destroy(); the containing widget will
   destroy the enclosing widget.

 * For temporary objects, use `atomically' to wrap both the allocation
   and release.

Every call to a function whose name contains "new" needs to be in one
of those cases.