racket/collects/mred/private/wx/gtk
2011-02-09 09:01:34 -07:00
..
button.rkt gtk: force display of images in button labels 2011-02-02 06:05:03 -07:00
canvas.rkt gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07: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 gtk: fix X selection for older Gtk versions 2011-02-09 07:41:57 -07: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 gtk: fix float frames to not appear in WM's window list 2011-01-27 12:25:53 -07:00
cursor.rkt clean up 2010-11-05 15:54:49 -06:00
dc.rkt gtk: fix screen-bitmap depth selection and a spurious tab callback 2010-08-12 23:35:40 -04:00
dialog.rkt clean up 2010-11-05 15:54:49 -06:00
filedialog.rkt gtk: get-file' and put-file' replace "*.*" filter with "*" 2011-01-08 10:29:31 -07:00
frame.rkt fix `set-icon' in frame% to make mask argument optional 2011-02-09 09:01:34 -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 gtk: map left-tab key to #\tab 2011-02-02 06:46:03 -07:00
keymap.rkt clean up 2010-11-05 15:54:49 -06:00
list-box.rkt gtk: list-box dclick 2011-01-27 12:26:23 -07: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 gtk: remove debugging printf 2011-01-22 13:30:05 -07:00
message.rkt clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
panel.rkt add reparent' to subwindow<%>' 2011-01-21 20:21:21 -07:00
pixbuf.rkt clean up 2010-11-05 15:54:49 -06:00
platform.rkt finish implementing display of menu shortcuts 2011-01-22 10:15:14 -07:00
printer-dc.rkt clean up 2010-11-05 15:54:49 -06:00
procs.rkt finish implementing display of menu shortcuts 2011-01-22 10:15:14 -07:00
queue.rkt fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
radio-box.rkt clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07: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 gtk: fix screen-bitmap depth selection and a spurious tab callback 2010-08-12 23:35:40 -04:00
types.rkt gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07:00
unique.rkt clean up 2010-11-05 15:54:49 -06:00
utils.rkt adapt better to available drawing and GUI libraries on Unix variants 2011-01-02 20:18:11 -07: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 gtk: fix drag-and-drop URI decoding 2011-02-02 06:32:51 -07: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.