PerlGTK with GTK module written in C ?
- From: Nagappan <anagappan novell com>
- To: Perl GTK Mailing list <gtk-perl-list gnome org>
- Subject: PerlGTK with GTK module written in C ?
- Date: Mon, 12 Jul 2004 20:14:35 -0700
I'm new to PyGTK / Perl-GTK / Java-GTK and also to GTK+. I'm doing
an initial study, to write a generic test automation tool, which will
completely test the GNOME based applications.
I have written a GTK module in C (gtk_module_init). PyGTK, PerlGTK,
JavaGTK, GuileGTK, TCL-GTK are already available. What I thought is, why
can't we integrate the different languages like Python, Perl, Java into
our module (Which I have already written it). So that people who knows
Python / Perl / Java can write an external plug-in. Which will be called
at run-time. This may be integrated by using signals (This is only my
Steps that I have assumed:
Create new signal inside C module, then emit the signal when required.
The Python / Perl / Java application can connect to the signal and
register a call back. By, the way I also need to pass GObject type to
the call back, which has been passed actually from C module.
Will my assumption work ? First of all my assumption is correct ? Is
there anyway to achieve this goal (Maybe using some IPC mechanism) ?
Nagappan <anagappan novell com>
Novell Software Development (I) Ltd
] [Thread Prev