Hey Sandip,<div>As I said earlier in GRASS there is no indivual code for each gui. each module has a predefined interface description</div><div>Grass gui parses this and create a gui when you execute r.wastershed from GRASS.</div>

<div><br></div><div>if you need to change gui you can do it but you are on your own. no one will do the job for you. if you have grass gis question ask</div><div>we will defenitely answer if we know.</div><div><br></div>
<div>
For your question</div><div><br></div><div>you need to create a python code for it (ofcourse you can choose C if you like) procedure is same</div><div>you need build</div><div>1. form/wxWindow like you want(first screenshot) </div>

<div>2. allow user to fill the parameters</div><div>3. pass the parameters to r.wastershed module using gcmd</div><div>gcmd.RunCommand(r.watershed --input=.....)</div><div>if you want r.wastershed as a standalone module then you need to inherit classes from from mapwindow,mapdisp etc....</div>

<div><br></div><div>i need to type more but need to go..  By the time you think about what I said</div><div><br></div><div>Also let other developers also reply</div><div><br></div><div><br></div><div><br></div><div><br></div>

<div>Hope this help</div><div><br><div class="gmail_quote">On Thu, Dec 22, 2011 at 1:20 PM, Sandip Maity <span dir="ltr">&lt;<a href="mailto:sandip.stesalit@gmail.com">sandip.stesalit@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Dear Friends,</div>
<div> </div>
<div>I want to change r.watershed GUI.</div>
<div> </div>
<div>I had change the GUI by changing <font style="BACKGROUND-COLOR:#ff6600">menu.c</font> in <font style="BACKGROUND-COLOR:#ff6600">r.watershed-&gt;front</font> folder and then make command. After that i replaced the new r.watershed.exe to the bin. The GUI is coming like 2nd attachment.</div>



<div> </div>
<div>but, i want to change like 1st attachment file.</div>
<div> </div>
<div>Please see the attachment and suggest the way.</div>
<div> </div>
<div>Regards.</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>Sandip.</div>
</font></span><br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,</font></div>

<div><font face="arial, helvetica, sans-serif"><div>    Rashad</div></font></div><br>
</div>