gui/collects/mred/private/wx/gtk
Matthew Flatt c0429ba8db `make-gl-bitmap' for cocoa and maybe gtk
original commit: 0a47a81aba1c9e2f88984357b0d665700a360ee1
2010-11-05 15:54:38 -06:00
..
button.rkt more memory management 2010-11-05 15:54:15 -06:00
canvas.rkt gtk: fix gl canvas painting 2010-11-05 15:54:38 -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: fix clipboard string content 2010-11-05 15:54:35 -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 `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
dialog.rkt win32: more menus and controls 2010-11-05 15:54:32 -06:00
filedialog.rkt gtk: fix get-directory dialog 2010-11-05 15:54:36 -06:00
frame.rkt fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -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 `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -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: fix delete key 2010-11-05 15:54:35 -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 `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
printer-dc.rkt gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
procs.rkt `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -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 gtk: first cut at gl support 2010-11-05 15:54:37 -06:00
utils.rkt gtk: first cut at gl support 2010-11-05 15:54:37 -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 fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -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.