Re: Find path under mouse

2017-06-20 Thread Anthony Ruth
think this may be what you mean by path). Anthony Ruth NASA Space Technology Research Fellow Condensed Matter Theory University of Notre Dame On Tue, Jun 20, 2017 at 1:21 AM, Daniel Kasak wrote: > Hi all. Reposting from the gtk-perl list ... no responses there ... > > Back in gtk+-2.x, I

Re: issue with drawing graph in GTK

2017-02-17 Thread Anthony Ruth
My guess is that your data points are extending outside your drawing area. I would suggest including something in your code to verify that all points passed to cairo move to or cairo line to are within the valid range. Anthony Ruth NASA Space Technology Research Fellow Condensed Matter Theory

gtk_spin_button_set_adjustment without triggering value-changed signal

2017-02-06 Thread Anthony Ruth
Hello, I have a bunch of spin buttons with the "value-changed" signal connected: g_signal_connect_swapped(spinbutton, "value-changed", G_CALLBACK (run),NULL); When I load a file, I want to set sane values for the spin buttons and I do this by calling gtk_spin_button_set_adjustment. gboo