On 07/08/2011 09:11 AM, ZuLuuuuuu wrote:
> Hello,
>
> I have a callback method for this callback:
>
>
http://developer.gnome.org/gtk3/stable/GtkNotebook.html#GtkNotebook-switch-page>
> My callback method is:
>
> myCallback: aWidget pageNumber: pageNumber [
> pageNumber printString printNl.
> ]
>
>
> The text printed when the callback is called is numbers like: '13034496'.
>
> Is this a CObject or something? How can I get the pageNumber in this
> situation?
Define it as
myCallback: aNotebook page: aPage pageNumber: pageNumber
You were removing a parameter in the middle. :)
Paolo
_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk