discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: GRC: is it possible to show grid


From: Sebastian Koslowski
Subject: Re: GRC: is it possible to show grid
Date: Mon, 7 Mar 2022 20:23:55 +0100

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/gnuradio/gnuradio/blob/main/grc/gui/canvas/colors.py
To make it optional grep for some action like TOGGLE_SNAP_TO_GRID and add your own in the same manner. 

Sebastian

On Mon, Mar 7, 2022 at 6:32 PM Prof. M.B. Patil <mbpatil@ee.iitb.ac.in> wrote:

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]