racket/collects/mred/private/wx/gtk
2010-11-05 15:54:21 -06:00
..
button.rkt more memory management 2010-11-05 15:54:15 -06:00
canvas.rkt new queue level for refresh events 2010-11-05 15:54:20 -06:00
check-box.rkt clean up lock library and uses 2010-11-05 15:54:14 -06:00
choice.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
client-window.rkt fix problems with gtk canvas client size and with checkable menus 2010-11-05 15:54:18 -06:00
clipboard.rkt more fixes to work with older Gtk version 2010-11-05 15:54:14 -06:00
combo.rkt fix on-subwindow- and modal for choice%; suppress other callbacks on set 2010-11-05 15:54:11 -06:00
const.rkt better frame sizing in gtk (but still not right) 2010-11-05 15:54:07 -06:00
cursor.rkt repairs that make dragable panels work 2010-11-05 15:54:17 -06:00
dc.rkt clean up lock library and uses 2010-11-05 15:54:14 -06:00
dialog.rkt concurrency repairs 2010-11-05 15:54:18 -06:00
filedialog.rkt make gtk file dialog place nicely 2010-11-05 15:54:13 -06:00
frame.rkt show gtk menu shortcuts 2010-11-05 15:54:17 -06:00
gauge.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
gl-context.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
group-box.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
group-panel.rkt streamline gtk widget repositioning 2010-11-05 15:54:15 -06:00
init.rkt Windows build and config repairs 2010-11-05 15:53:59 -06:00
item.rkt default buttons and Cocoa clipboard 2010-11-05 15:54:03 -06:00
keycode.rkt gtk key-handling fixes 2010-11-05 15:54:21 -06:00
keymap.rkt gtk alternate key interpretetaions 2010-11-05 15:54:18 -06:00
list-box.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
menu-bar.rkt show gtk menu shortcuts 2010-11-05 15:54:17 -06:00
menu-item.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
menu.rkt fix problems with gtk canvas client size and with checkable menus 2010-11-05 15:54:18 -06:00
message.rkt more memory management 2010-11-05 15:54:15 -06:00
panel.rkt repairs that make dragable panels work 2010-11-05 15:54:17 -06:00
pixbuf.rkt more memory management 2010-11-05 15:54:15 -06:00
platform.rkt generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -06:00
printer-dc.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
procs.rkt fix gtk theme lookup 2010-11-05 15:54:19 -06:00
queue.rkt fix gtk win32 poll 2010-11-05 15:54:18 -06:00
radio-box.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
README.txt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
slider.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
style.rkt fix gtk theme lookup 2010-11-05 15:54:19 -06:00
tab-group.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
tab-panel.rkt streamline gtk widget repositioning 2010-11-05 15:54:15 -06:00
types.rkt Implement GTK-native file selector 2010-11-05 15:54:13 -06:00
utils.rkt access foreign libs more consistently under Unix 2010-11-05 15:54:19 -06:00
w32.rkt fix gtk win32 poll 2010-11-05 15:54:18 -06:00
widget.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
window.rkt gtk key-handling fixes 2010-11-05 15:54:21 -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.