Basic Tab Creation



  • On 14/03/2013 at 17:57, xxxxxxxx wrote:

    I was wondering if someone could post a basic python setup for a multi-tab interface, I was able to get one tab created but couldn't figure out where to name the tab or where I put code for parameters on the second tab. I couldn't find any examples of this anywhere. Thanks a lot!



  • On 14/03/2013 at 18:30, xxxxxxxx wrote:

    in descriptions the tabs are the top level groups. generally any group with with string defined 
    in the str file becomes either a tab (toplevel) or a foldable group (any level below). for dialogs 
    there is the tab element which basically just hosts a group plus some dialog specific tab flags. 
    there is also the tabgroupbegin() method to create tab groups programmatically, although i 
    personally would always prefer ressource files.



  • On 15/03/2013 at 15:04, xxxxxxxx wrote:

    Thanks Little Devil



  • On 17/03/2013 at 13:58, xxxxxxxx wrote:

    Have a look at this tutorial on my blog.
    It explains using just Python, no res file, how to create a dialog with tabs.



  • On 17/03/2013 at 16:51, xxxxxxxx wrote:

    Perfect! thanks a lot, thats just what I was looking for. I came across that on your site before and totally forgot I saw that`. Thanks for all the python examples on your site, they're really helpful.



  • On 20/03/2013 at 05:52, xxxxxxxx wrote:

    No problem.
    Glad to return something to the community.


Log in to reply