jverzani / gWidgets2

Rewrite of gWidgets
35 stars 9 forks source link

Is handler argument of gfile() really deprecated? #86

Closed davidcsterratt closed 9 years ago

davidcsterratt commented 9 years ago

Before using some addHandler() code, I was just checking that the handler argument of gfile() really is deprecated:

gWidgets2::gfile("Hello", handler=function(h, ...) {print("hello")})
Argument handler has been deprecated:
     o 

Fine if it is!

jverzani commented 9 years ago

I made gfile modal and gfilebrowse non-modal (so it could have a handler). The modal one seemed to be easier for people to use.

davidcsterratt commented 9 years ago

Thanks - makes sense now! As far as I can see, my Retistruct package is now fully working with gWidgets2.