Re: gtk_toggle_button_set_active()

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

 



thanks, guys... r-

On Tue, 26 Jul 2005 17:09:32 +0100, John Cupitt <jcupitt@xxxxxxxxx> wrote:

On 7/26/05, Tristan Van Berkom <tvb@xxxxxxxxx> wrote:
riboaz@xxxxxxxxx wrote:
[...]
> Thus, my questions fall into the categories: how this could occur, under > what circumstances it might be possible (e.g., that I'm doing something > "illegal" in my code (though not "breaking" anything), etc. Or, barring > any direct knowledge in this regard, how I might try to track the problem
> down and answer the question: why is my call to
> gtk_toggle_button_set_active() not resulting in my radio button being
> properly set?

There has to be something wrong with your code (since you have a dozen
working examples of togglebuttons in your code).

Try:
(gdb): break gtk_toggle_button_set_active
(gdb): run

Add g_print() all over the place like a true terrorist and
eventually you'll nail the sucker.

I agree, it sounds lke a bug in your code. If it's memory corruption,
I'd try valgrind too. It can (usually) very quickly spot pointer
problems in your code.

John





--
Richard Boaz
riboaz@xxxxxxxxx
+31.(0)648.792.484
http://www.boazconsultancy.com
_______________________________________________

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