Parameters for Source Block

Got the source block working. Thanks for the help. Is there a standard
way to add parameters to a source block? I notice in gnuradio-companion
you can right click on the block and it has parameters that are settable
for that block. I need to reference external parameters such as
frequency
and sample rate also.

Thx,
Y-