public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* Completed GdkWindow; enhanced design
@ 2003-05-15  7:59 Marko Rauhamaa
  2003-05-15 23:19 ` Kevin Ryde
  2003-08-22 23:56 ` gdk-window-set-geometry-hints Kevin Ryde
  0 siblings, 2 replies; 10+ messages in thread
From: Marko Rauhamaa @ 2003-05-15  7:59 UTC (permalink / raw)
  To: guile-gtk


I completed the GdkWindow functions. To implement user_data and filter
callbacks (while protecting them from GC), I added the boxed_mark ()
function to participate in the GC mark phase. Accordingly, I added a
'mark option to define-boxed and define-struct.

The GdkWindow user_data design is as follows:

   The GdkWindow user_data is either NULL (initially) or an SCM list.
   The first element of the list is the SCM user data (or #f). The
   remainder of the list consists of filter procedures.

You will see that gdk_window_mark will simply return its user_data to
protect it against GC.


Marko

-- 
Marko Rauhamaa      mailto:marko@pacujo.net     http://pacujo.net/marko/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-22 23:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-15  7:59 Completed GdkWindow; enhanced design Marko Rauhamaa
2003-05-15 23:19 ` Kevin Ryde
2003-05-16  0:58   ` Marko Rauhamaa
2003-05-16  1:23     ` Kevin Ryde
2003-05-16  5:43       ` Marko Rauhamaa
2003-05-16  5:58         ` Marko Rauhamaa
2003-05-16 22:36         ` Kevin Ryde
2003-05-16 22:59           ` Marko Rauhamaa
2003-05-21 13:20           ` first checkin of gnome-guile in guile-gtk CVS Stan Pinte
2003-08-22 23:56 ` gdk-window-set-geometry-hints Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).