RE: Why is ChangeValue reentrant on a gtk_dialog_run?



I think this is a bug.  I'm running Gtk 2.6 on HPUX.  When I create a
callback for an HScale's "change-value", and within the callback I
create a dialog using gtk_message_dialog_new, whether I invoke the
dialog via gtk_dialog_run or via gtk_widget_show_all, the dialog causes
the HScale's "change-value" callback to trigger, creating an endless
loop.

Before I report this, can anyone tell me if there's a reason why this
should be expected behavior?  I would have thought it made no difference
if it was a custom-built dialog or built via gtk_message_dialog_new.
The former does not cause the callback to trigger.



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