On Sun, Jan 11, 2009 at 8:07 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><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;">


Coming from a complete outsider is GTK like Qt in that GTK has a &quot;Core&quot; library then others built on top of that? If so you can default to looking for the &quot;Core&quot; library then use CMake variables such as &quot;GTK_USE_MM&quot; set to &quot;TRUE&quot; and find components that way. I think FindBoost does something like that also.<br>


<br>
&nbsp;just my 2 cents. It is my hope that large libraries such as GTK, Qt, Boost and others could be written to the same &quot;style&quot; so that if I were used to using FindBoost, then I could easily use FindGTK in the same way and it would just work.</blockquote>

<div><br>I made the choice to use Components because it really makes the design
far simpler to document as there are less variables. As far as I know
Components have been supported since at least 2.4.x and are present in
a variety of Modules now like FindBoost and FindMagick.<br><br>I believe I&#39;ve covered 4 of the major use cases when utilizing GTK with my module but I can obviously add more.&nbsp; <br><br>gtk<br>glade<br>gtkmm<br>glademm<br>
<br>GTK&#39;s architecture has several support libraries located underneath libgtk.&nbsp; I believe &quot;glib&quot; which handles a lot of string processing and other low-level stuff is the lowest library.&nbsp; I&#39;ve never heard of anyone using these libraries without using GTK but that is a use case that could be handled if there is demand for it (simply by adding more Components).&nbsp; As for your QT question I&#39;ve never really used QT and am not that familiar with it&#39;s architecture to make a good comparison.&nbsp; In order to use GTK to render you have to link several libraries, this may be different than QT.<br>
</div></div><br clear="all"><br>-- <br>Philip Lowman<br>