caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: yminsky@cs.cornell.edu
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Wrapping new widgets in lablgtk
Date: Fri, 16 Jun 2006 11:52:18 +0900 (JST)	[thread overview]
Message-ID: <20060616.115218.12315606.garrigue@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <891bd3390606151316m35e8530dvbc4a73d2efbe5873@mail.gmail.com>

From: "Yaron Minsky" <yminsky@cs.cornell.edu>

> I was wondering if anyone could give me a sense of how one would go
> about wrapping a GTK+ widget that is not already wrapped by lablgtk.
> I understand that part of the lablgtk wrappers are generated
> automatically, but I have no sense of how much manual
> tweaking/expertise is required.  The library we're thinking of
> wrapping up is GtkSheet from Gtk+Extra.

The automated part only concerns enumerations (varcc) and properties
(propcc). But it seems that GtkSheet doesn't use properties, so you
don't need propcc.

You should look at how things are wrapped inside lablgtk2.
A good example not using propcc is GnomeDruid. It uses 5 files:
gnomeui_tags.var (enumerations), ml_gnomedruid.c (C wrappers),
gnomeDruid.ml (ML low level interface), gnoDruid.mli,
gnoDruid.ml (class interface).

Jacques Garrigue


      reply	other threads:[~2006-06-16  3:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15 20:16 Yaron Minsky
2006-06-16  2:52 ` Jacques Garrigue [this message]

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=20060616.115218.12315606.garrigue@math.nagoya-u.ac.jp \
    --to=garrigue@math.nagoya-u.ac.jp \
    --cc=caml-list@inria.fr \
    --cc=yminsky@cs.cornell.edu \
    /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 NNTP newsgroup(s).