public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Marko Rauhamaa <marko@pacujo.net>
To: guile-gtk@sources.redhat.com
Subject: Completed GdkWindow; enhanced design
Date: Thu, 15 May 2003 07:59:00 -0000	[thread overview]
Message-ID: <m3r870fy1p.fsf@lumo.pacujo.net> (raw)


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/

             reply	other threads:[~2003-05-15  7:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15  7:59 Marko Rauhamaa [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r870fy1p.fsf@lumo.pacujo.net \
    --to=marko@pacujo.net \
    --cc=guile-gtk@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).