Re: Buttons within buttons



Havoc Pennington wrote:

Vanni Brutto <zanac libero it> writes:
[CUT]
works.  Any mouse actions I perform seem to be grabbed by the
underlying
button and count as a click on that rather than on the spin-button.  I
therefore can't change the value in the spin button at all - it simply
runs
my main button-clicked handler.

I think that it is a bug of GTK+ 2.0, 'cause it break also some API
for example gtk_clist_set_column_widget.

Indeed that code worked in older GTK+ 2.0 release and also in the
stable 1.2,
so i think that it is a bug.

Someone could confirm that?


I think it probably is a bug - my initial guess was that the
button_press handler for some widget returned the wrong value (FALSE
instead of TRUE), but now I think it may be the stacking order of the
input-only windows used to trap events. Probably the input-only
windows should have the same stacking as the widgets themselves.

I could be wrong though.

Havoc


I can confirm that this problem still occurs in GTK+ V1.3.15 if that's any
help!  Spin-buttons inside other buttons still can't be changed through the
GUI.

Regards,
Richard.





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