Re: Timer start registration breaks the gtk_main()
- From: Lex Trotman <elextr gmail com>
- To: ikorot earthlink net
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Timer start registration breaks the gtk_main()
- Date: Sun, 27 Mar 2011 16:47:55 +1100
>>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 :-)
>
>>
>>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.
Cheers
Lex
>
> Thank you.
>
>>
>>Cheers
>>Lex
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]