<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">><br>
>Just for my understanding, why?<br>
<br>
</div>Glade 2.x produces deprecated code (in terms of deprecated GLib/GTK<br>
function calls) but this is not yet a real issue since we also only<br>
depend on GTK 2.8 but it might get interesting when we upgrade minimum<br>
required GTK version later.</blockquote><div><br>oh :-( <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Another reason is sometimes it's messy to modify/customize the<br>
generated widgets or use own classes (not that important on Geany as we<br>
don't have much own widget classes but still).</blockquote><div><br>And I'm finding that it is difficult to exploit the repetitiveness within the dialog and the commonality between projects and build dialogs.  Although cut & paste can generate the code reasonably efficiently you then need to hand edit it and when fixing bugs you have to repeat it lots of time ... oops I missed one ;-)   This in fact is pushing me towards do it yourself.<br>
If I go that way where do you suggest that functions common to build.c and project.c should go, I don't really want to add another file??  <br>And you can't set user_data for callbacks unless you specify something in the object field and then glade uses the connect_swapped so it comes into the callback as the widget not the user_data, messy.<br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Yet another reason is to modify the generated code, you need to<br>
regenerate it, so you need again Glade, obviously.<br>
<br>
This are all not that strong reasons and using Glade isn't anything bad<br>
at all. I just wanted to mention most often it's just easier or not<br>
more complicated to write the GUI manually. But this heavily depends on<br>
the person who writes it and this person's experience with GTK, haha.<br>
<br>
To summarise it, just use Glade if you like but there is less need to<br>
glade-ify existing code.</blockquote><div><br>Ok.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Some time in the future when we can use GTK 2.12 we can/will use<br>
GtkBuilder whose XML files can be created with Glade 3 and are read<br>
directly by GTK, so we don't need libglade or generated code (and<br>
there is a conversion tool for glade XML files to GtkBuilder XML files).<br>
But this doesn't matter much for now because we require GTK 2.8 (as<br>
said before).</blockquote><div><br>Yeah, as I understand it this is the way to go.  Glade 3.6 supports builder xml directly, no converter needed. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div><div></div><div class="h5"><br>
Regards,<br>
Enrico<br>
<br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</div></div><br>_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
<br></blockquote></div><br>