#4 Using Default Params for add_tree_item() and add_tree_root()

closed
None
5
2012-07-21
2009-09-28
No

Would like the signatures to be:

add_tree_item ( atom tree, atom parent, sequence text, atom image = -1, atom selimage = -1 )
add_tree_root ( atom tree, sequence text, atom image = -1, atom selimage = -1 )

making the images optional parameters.

Discussion

  • Matt Lewis

    Matt Lewis - 2009-09-28

    This makes sense for the future. At least one more release will probably be 3.1 compatible, which prevents us from using default parameters.

     
  • Christopher K. Lester

    I keep forgetting that small detail... :-)

     
  • Gregory Haberek

    Gregory Haberek - 2012-07-21
    • assigned_to: nobody --> ghaberek
    • status: open --> closed
     
  • Gregory Haberek

    Gregory Haberek - 2012-07-21

    Added in changeset 432.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks