Gtk signals

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Gtk signals

MrGwen
Hi Paolo,

First of all thanks for your previous answers ;). I've an other question is it
possible to emit a gtk signals ? I've looked but not found any emit_signals

By the way I'm working with Nicolas Celier on a gtk environment this is a
prototype but in 2-3 weeks could be very usable.

Cheers,
Gwenael


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Gtk signals

Paolo Bonzini-2
Gwenael Casaccio wrote:
> Hi Paolo,
>
> First of all thanks for your previous answers ;). I've an other question is it
> possible to emit a gtk signals ? I've looked but not found any emit_signals

First, how do you do that in C? :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Gtk signals

Nicolas Petton
In reply to this post by MrGwen
Le vendredi 06 mars 2009 à 16:15 +0100, Gwenael Casaccio a écrit :
> Hi Paolo,
>
> First of all thanks for your previous answers ;). I've an other question is it
> possible to emit a gtk signals ? I've looked but not found any emit_signals
>
> By the way I'm working with Nicolas Celier
Gweneal, you probably meant Nicolas Petton ;)

Cheers!

Nicolas

>  on a gtk environment this is a
> prototype but in 2-3 weeks could be very usable.
>
> Cheers,
> Gwenael
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Gtk signals

MrGwen
On Friday 06 March 2009 16:34:42 nico wrote:

> Le vendredi 06 mars 2009 à 16:15 +0100, Gwenael Casaccio a écrit :
> > Hi Paolo,
> >
> > First of all thanks for your previous answers ;). I've an other question
> > is it possible to emit a gtk signals ? I've looked but not found any
> > emit_signals
> >
> > By the way I'm working with Nicolas Celier
>
> Gweneal, you probably meant Nicolas Petton ;)
>

;)

> Cheers!
>
> Nicolas
>
> >  on a gtk environment this is a
> > prototype but in 2-3 weeks could be very usable.
> >
> > Cheers,
> > Gwenael
> >
> >
> > _______________________________________________
> > help-smalltalk mailing list
> > [hidden email]
> > http://lists.gnu.org/mailman/listinfo/help-smalltalk



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Gtk signals

Paolo Bonzini-2
In reply to this post by Paolo Bonzini-2
They are not picked up because of the funny names (no gtk_object_
prefix); use these manual declarations.  I'll add them to
packages/gst/MoreFuncs.st after you confirm that I didn't screw them up,
or try to make funcs.awk pick them up.


"These have a weird name in C."

GtkObject extend [
    signalEmit: signal args: argsArray [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_emit' returning: #void
        args: #(#self #int #variadic)>

    ]

    signalEmitByName: signal args: argsArray [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_emit_by_name' returning: #void
        args: #(#self #string #variadic)>

    ]

    signalNEmissions: signal [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_n_emissions' returning: #int
        args: #(#self #int)>

    ]

    signalNEmissionsByName: signal [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_n_emissions_by_name' returning: #int
        args: #(#self #string)>

    ]

    signalEmitStop: signal [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_emit_stop' returning: #void
        args: #(#self #int)>

    ]

    signalEmitStopByName: signal [
        <category: 'C call-outs'>
        <cCall: 'gtk_signal_emit_stop_by_name' returning: #void
        args: #(#self #string)>

    ]

]


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk