racket/collects/mred/private/wx/gtk
2010-11-05 15:54:34 -06:00
..
button.rkt more memory management 2010-11-05 15:54:15 -06:00
canvas.rkt win32: canvas autoscroll 2010-11-05 15:54:34 -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 gtk clipboard repair 2010-11-05 15:54:31 -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 wheel events for gtk 2010-11-05 15:54:23 -06:00
cursor.rkt toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
dc.rkt win32 theme and basic canvas 2010-11-05 15:54:31 -06:00
dialog.rkt win32: more menus and controls 2010-11-05 15:54:32 -06:00
filedialog.rkt cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
frame.rkt gtk: try fullscreen 2010-11-05 15:54:32 -06:00
gauge.rkt finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
gcwin.rkt fix gtk collecting blit to revert immediately when gc ends 2010-11-05 15:54:26 -06:00
gl-context.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 cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
menu-item.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
menu.rkt display size and menu fixes 2010-11-05 15:54:29 -06:00
message.rkt toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
panel.rkt unify cocoa & gtk canvas-painting implementation 2010-11-05 15:54:27 -06:00
pixbuf.rkt more memory management 2010-11-05 15:54:15 -06:00
platform.rkt win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
printer-dc.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
procs.rkt win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
queue.rkt toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -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 fix slider value display and 'plain option 2010-11-05 15:54:27 -06:00
style.rkt fix gtk theme lookup 2010-11-05 15:54:19 -06:00
tab-panel.rkt enable scrolling to extra tabs in a tabl panel 2010-11-05 15:54:27 -06:00
types.rkt toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
utils.rkt toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -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
win32.rkt gtk win32 canvas back-end 2010-11-05 15:54:26 -06:00
window.rkt win32: more menus and controls 2010-11-05 15:54:32 -06:00
x11.rkt add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -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.