[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: transfering data between windows
- From: Bart Vandewoestyne <Bart Vandewoestyne skynet be>
- To: gtk-app-devel-list redhat com
- Subject: Re: transfering data between windows
- Date: Sun, 20 Feb 2000 15:53:45 +0100
alx@gs707.com wrote:
>
> In my program, I've got several windows (one main, and 2 levels of
> dialogs).
> I need to change variables, which belong to main window using dialogs.
>
> I looked thru DOCs, and found that I am to use gpointer. It works well
> whenever I try sending "gint", but how can I transfer strings or
> structures?
I'm not quite sure this is the right answer (I'm new to GTK+ too...) but
I think you have to pass the structure or string to your callback, and
then in the callback you must cast it to the right type.
Greetzzz
MC303
--
Bart Vandewoestyne http://hello.to/MC303
Hugo Verrieststraat 48 Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM ICQ# 21275340
BELGIUM - EUROPE nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------
"If we knew what it was we were doing, it would not
be called research, would it?"
-- Albert Einstein --
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]