<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/14/2013 02:56 PM, Etienne
Tourigny wrote:<br>
</div>
<blockquote
cite="mid:CA+TxYvOe_VQboiCioJo1YgxsCKV9X6QCELtZUYZF+=QXGmOw4g@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Tue, May 14, 2013 at 6:21 PM, David J.
Bakeman <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dbakeman@comcast.net" target="_blank">dbakeman@comcast.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <font size="+1"><tt>Is
it possible to create a group within a group in python?<br>
<br>
<font size="+1">li = qgis.utils.iface.legendInterface()<br>
<font size="+1">g1 = li.addGroup("g1")</font><br>
<font size="+1">g2 = li.addGroup("g2",<font size="+1">
g2)<br>
</font></font></font></tt></font></div>
</blockquote>
<div><br>
</div>
<div>did you try this? </div>
<div><br>
</div>
<div>g2 = li.addGroup("g2", g1)</div>
</div>
</blockquote>
Sorry for the typo yes that is exactly what I tried. Does it work
for you?<br>
<blockquote
cite="mid:CA+TxYvOe_VQboiCioJo1YgxsCKV9X6QCELtZUYZF+=QXGmOw4g@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font size="+1"><tt><font
size="+1"><font size="+1"><font size="+1"> <br>
<br>
<font size="+1">The above seems like it should
work but it doesn't.<br>
<br>
<font size="+1">Thanks.</font><br>
</font></font></font></font></tt></font> </div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>