GRC Code Organization: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
grc uses GTK 3.0 and PangoCairo 1.0 which seems to be a way to render text using GTK
grc uses GTK 3.0 and PangoCairo 1.0 which seems to be a way to render text using GTK


the entry point for GRC is in /gnuradio/grc/main.py which has no actual GTK code in it, it calls Application()
the entry point for GRC is in /gnuradio/grc/'''main.py''' which has no actual GTK code in it, it calls '''Application'''()
 
'''Application'''() sets up the main window, and would be the first thing to convert to pyqt and verify works before slowly adding in everything else

Revision as of 18:03, 19 May 2019

These notes are an attempt to figure out how big of a project porting from pygtk to pyqt will be, by identifying which files have pygtk code and how much of it.

All of the pygtk code is in gnuradio/grc/gui, other than a few lines in gnuradio/grc/scripts

gi is GObject Introspection which seems to be a python GTK thing

grc uses GTK 3.0 and PangoCairo 1.0 which seems to be a way to render text using GTK

the entry point for GRC is in /gnuradio/grc/main.py which has no actual GTK code in it, it calls Application()

Application() sets up the main window, and would be the first thing to convert to pyqt and verify works before slowly adding in everything else