[Gtk-sharp-list] Another Wrapping Question

Charles Iliya Krempeaux charles@reptile.ca
17 Feb 2003 17:52:10 -0800


--=-yz2gsm3pNBHAhLhH/UaB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

On Mon, 2003-02-17 at 15:17, Mike Kestner wrote:

> On Mon, 2003-02-17 at 14:30, Charles Iliya Krempeaux wrote:


[...]



> > I ask this, because librsvg has helper functions like:
> > 
> >     rsvg_pixbuf_from_file()
> 
> I'm not familiar enough with librsvg to know what the function is, but
> if it doesn't relate to a librsvg defined type, it will have to be hand
> wrapped.  This is similar to the gtk_main_init method that is
> hand-wrapped in Gtk# to be Gtk.Application.Init(). If it does relate to
> a type, then maybe there's a parser/generator bug.

No, it isn't a bug.

That procedure has a signature of:

    GdkPixbuf * rsvg_pixbuf_from_file(const gchar  *file_name, GError 
**error);

So it wouldn't be picked up by the generator.

I'll just make a custom file for it.


See  ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/

--=-yz2gsm3pNBHAhLhH/UaB
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.8">
</HEAD>
<BODY>
Hello,<BR>
<BR>
On Mon, 2003-02-17 at 15:17, Mike Kestner wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>On Mon, 2003-02-17 at 14:30, Charles Iliya Krempeaux wrote:</I></FONT></PRE>
</BLOCKQUOTE>
<FONT SIZE="3"><BR>
[...]<BR>
<BR>
</FONT><BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>&gt; I ask this, because librsvg has helper functions like:
&gt; 
&gt;     rsvg_pixbuf_from_file()

I'm not familiar enough with librsvg to know what the function is, but
if it doesn't relate to a librsvg defined type, it will have to be hand
wrapped.  This is similar to the gtk_main_init method that is
hand-wrapped in Gtk# to be Gtk.Application.Init(). If it does relate to
a type, then maybe there's a parser/generator bug.</I></FONT></PRE>
</BLOCKQUOTE>
<FONT SIZE="3">No, it isn't a bug.<BR>
<BR>
That procedure has a signature of:<BR>
</FONT><BR>
<FONT SIZE="2"><TT>&nbsp;&nbsp;&nbsp; GdkPixbuf * rsvg_pixbuf_from_file(const gchar&nbsp; *file_name, GError&nbsp; **error);</TT></FONT><BR>
<FONT SIZE="3"><BR>
So it wouldn't be picked up by the generator.<BR>
<BR>
I'll just make a custom file for it.<BR>
<BR>
<BR>
See&nbsp; ya</FONT>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting &amp; Services    604-REPTILE    http://www.reptile.ca/</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-yz2gsm3pNBHAhLhH/UaB--