Still About create a new signal for existing Widget



But, How to use gtk_object_class_user_signal_new()?
I tried several times, but it doesn't work very fine.  Maybe some parameter I
didn't set up right.
Could you give some examples?  maybe a simple example for GtkWindow?

David Benson wrote:

> Hello,
>
> Use
>
>         gtk_object_class_user_signal_new()
>
> and friends.  Sorry, I've written but haven't sent up the docs
> for this.
>
> > Hi, All,
> >             Is there a way to create a new signal for a existing Widget?
> >
> >             Such as:  If I want to define a new signal, which is not an
> > existing signal (defined in GTK) for a GtkWindow, and put call back
> > function for that.
> >              Is there a way to do that?
> >
> >                 If somebody knows, please tell me ASAP, thanks very
> > much!
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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