gui/collects/mred/private/wx/gtk
Matthew Flatt d20c5fbd4a use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF

original commit: 168a2c15911a2bc6abd249a9a557e90ee5b0d4d9
2010-11-09 16:59:01 -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 use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame 2010-11-09 16:59:01 -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 finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
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 fix gtk win32 poll 2010-11-05 15:54:18 -06:00
widget.rkt clean up 2010-11-05 15:54:49 -06:00
win32.rkt gtk win32 canvas back-end 2010-11-05 15:54:26 -06:00
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.