Re: GRC: is it possible to show grid

2022-03-07 Thread Prof. M.B. Patil
Thank you. This will be helpful. I was trying to see if Gtk allows grid drawing with a single command, but I could not find that. In that case, I guess I have to do two loops: one for horizontal lines (using move_to/line_to) and one for vertical lines. If there is a better way, please let me kno

Re: GRC: is it possible to show grid

2022-03-07 Thread Sebastian Koslowski
There is no option for that AFAIK. To implement it, you'll want to start here: https://github.com/gnuradio/gnuradio/blob/main/grc/gui/DrawingArea.py#L213 The grid size is defined in https://github.com/gnuradio/gnuradio/blob/main/grc/gui/Constants.py#L50 Best add a color in https://github.com/gnura

GRC: is it possible to show grid

2022-03-07 Thread Prof. M.B. Patil
Dear All, Is there a way to display the grid (to which blocks get locked) on the canvas? If not, any tips on how to implement it? Thanks. M.Patil