SourceForge has been redesigned. Learn more.
Close

#572 ListView getImageList() / setImageList should accept string keyword for image list type

ooDialog.4.2.4
pending
ooDialog (102)
complete
1
2013-12-28
2013-12-24
No

The get / set image list methods of the list view can work with one of the 3 different types of image lists the list view uses. The methods take one optional argument to specify which one of the 3 types to get or set.

Currently this argument must be the numeric value of the type. This was a mistake I made when first implementing these methods. At the time I was sure that using the numeric value would be easier for the programmer.

However, it is not easier. Using the string name of the type, NORMAL, SMALL, or STATE is easier.

The methods should be enhanced to accept either a string keyword or the numeric value.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2013-12-24
    • status: open --> accepted
    • assigned_to: Mark Miesfeld
    • Pending work items: none --> doc
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-12-24

    Committed revision 9762. [r9762] code and test

     

    Related

    Commit: [r9762]

  • Mark Miesfeld

    Mark Miesfeld - 2013-12-28
    • status: accepted --> pending
    • Pending work items: doc --> complete
    • Milestone: ooDialog.4.2.3 --> ooDialog 4.2.4
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-12-28

    Committed revision 9764. [r9764] doc

     

    Related

    Commit: [r9764]

Anonymous
Anonymous

Cancel  Add attachments