guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GtkObject to Guile


From: Andreas Rottmann
Subject: Re: GtkObject to Guile
Date: Fri, 08 Aug 2003 22:04:59 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

José Roberto B. de A. Monteiro <address@hidden> writes:

> I am using the package gnome-guile, which provides guile-gtk (version
> GTK+ 1.2) and guile-gnome. I have my main window written in C, and I
> want to access it in my scheme code. I thing that a function, which its
> prototype is as follows, would do the job:
>
> SCM gh_GtkWindow2scm(GtkWindow * window);
>
What 'is' your main window? Is it a derived GTK widget? If so, you
probably just need a function like this:

GtkWindow *get_my_main_window(void);

And run that prototype thru whatever wrapper generator gnome-guile
uses -- can't help here, since I only care about guile-gobject (the
bindings for GTK+ 1.2 are obsolete, at least in the long term).

Also, note that there is a guile-gtk mailing list, so this thread
belongs there (CC'ed).

Regards, Andy
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

It's GNU/Linux dammit!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]