help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Problem with the parameter of a callback method [GT


From: ZuLuuuuuu
Subject: Re: [Help-smalltalk] Problem with the parameter of a callback method [GTK+]
Date: Fri, 8 Jul 2011 01:13:35 -0700 (PDT)

Paolo Bonzini-2 wrote:
> 
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-smalltalk
> 

Oh ok, thanks :)

-----
Canol Gökel
--
View this message in context: 
http://forum.world.st/Problem-with-the-parameter-of-a-callback-method-GTK-tp3653383p3653465.html
Sent from the Gnu mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]