Re: [gtk-list] Re: adding new signal in new class



From: Matt Goodall <mgg@isotek.co.uk>
Subject: [gtk-list] Re: adding new signal in new class
Date: Fri, 26 Nov 1999 10:09:39 +0000

> Yasushi Shoji wrote:
> > 
> > hi all,
> > 
> > Is there any Object Oriented Programming Language binding for Gtk+
> > that allows programmer to add new signal in newly created class?
> > 
> > e.g. create new subclass of HBox and add new signal called "new_sig".
> > 
> > if not, is it possible to do so?  Just a quick search in gtk-list
> > archive gave me an idea that gtk_object_class_add_signals() is the
> > one. but that function needs GtkObjectClass* as first argument...
> 
> Have a look at a program called "gob". You can find it at
> www.freshmeat.net.
> 
> It helps create new GTK+ objects easily by writing a .gob file and
> running gob on it to produce the .c and .h files.

Thank you for the info.  but it seems to me that gob is a tool for C.

What I'm looking for is a OOP language binding for Gtk+ which allows
programmer to create a sub class with language feature.

Does Ada95, C++, perl, or other OO language binding on the list of
gtk.org allow programmer to to do that?  or first you have to create a
sub class with C?
--
             yashi



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