racket/collects/mred/private/wx/gtk
2012-08-12 20:17:29 -06:00
..
button.rkt
canvas.rkt racket/gui: fix access of scrollbar values for canvas without a scrollbar 2012-08-12 20:17:29 -06:00
check-box.rkt
choice.rkt
client-window.rkt
clipboard.rkt racket/gui: implement set-clipboard-bitmap' in clipboard<%>' 2012-05-26 19:42:48 -06:00
colordialog.rkt
combo.rkt
const.rkt
cursor.rkt
dc.rkt
dialog.rkt
filedialog.rkt
frame.rkt
gauge.rkt
gcwin.rkt
gl-context.rkt
group-panel.rkt
init.rkt
item.rkt
keycode.rkt
keymap.rkt
list-box.rkt
menu-bar.rkt
menu-item.rkt
menu.rkt
message.rkt
panel.rkt
pixbuf.rkt
platform.rkt
printer-dc.rkt
procs.rkt
queue.rkt
radio-box.rkt
README.txt
slider.rkt
stddialog.rkt
style.rkt
tab-panel.rkt no callback for `tab-panel%' tab additions and deletions 2012-03-10 10:07:37 -07:00
types.rkt
unique.rkt
utils.rkt
w32.rkt
widget.rkt
win32.rkt
window.rkt
x11.rkt

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.