#578 Accept string keywords instead of requiring numeric value in image related methods

ooDialog.4.2.3
accepted
ooDialog (102)
doc
1
2013-12-28
2013-12-28
No

When the image related methods were added to ooDialog, some of the method arguments were designed to require a numeric value. At the time it was thought this would be easier for the programmer.

But, after writing example programs using these methods, it became apparent that this was not easier for the programmer.

These method arguments should all be converted to also accept a string of space separated keywords. The following methods need this conversion:

In the Button class:

getImageList()
setImageList()

In the Image class:

getImage()
fromFiles()
fromIDs()

In the ImageList class:

create()

In the ListView class:

getImageList()
setImageList()

In the ResourceImage class:

getImage()
getImages()

In the TreeView class:

getImageList()
setImageList()

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2013-12-28
    • Pending work items: doc+test --> doc
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-12-28

    Committed revision 9764. [r9764] test

     

    Related

    Commit: [r9764]


Anonymous

Cancel  Add attachments





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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks