Re: Timer start registration breaks the gtk_main()

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

 



Lex,


-----Original Message-----
>From: Lex Trotman <elextr@xxxxxxxxx>
>Sent: Mar 26, 2011 10:47 PM
>To: ikorot@xxxxxxxxxxxxx
>Cc: gtk-list <gtk-list@xxxxxxxxx>
>Subject: Re: Timer start registration breaks the gtk_main()
>
>>>It is not automagically passed a pointer to an instance of the object
>>>(no "this") so it will only work if the function does not access any
>>>instance members.
>>
>> Which means that every member of the class that will be used by this function
>> should be static. But this is not good.
>
>Not if you want more than one instance :-)

Which is not the case here. ;-)

>
>>
>>>
>>>If you are writing in C++ why don't you use gtkmm, the C++ binding
>>>which has the ability to call bound member functions?
>>
>> Originally I wrote my program with wxWidgets, but it was repeatedly crashing
>> without even initializing.
>> But it looks like I will need to do some more work.
>
>Well, wxwidgets works too but it is more than just a binding, but
>gtkmm is the official C++ binding for GTK.

Ok, I will look into this.
But right now, I need to do the release as it's already late.

Thank you all for the help.
I will make the function static and see if there is a chance to
do that with gtkmm later.

>
>Cheers
>Lex
>
>>
>> Thank you.
>>
>>>
>>>Cheers
>>>Lex
>>
>>

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux