.

Tuesday, April 24, 2012

[Ruby] [FXRuby] Write (Save) File

          Hello, Reader ^^! Back again with source code. This time is Text Example which is written in Ruby programming language and FXRuby extension. In this one, it will show save file dialogue. It will get the path of the to be saved/written. However, it only get the file path, it will not save it immediately, so you need to define the write/save in standard ruby after using the file save dialogue. There's example how to do it in the source code. Okay, that's all I can say. Thank you for reading ^^!












1 comment:

  1. @Kid:
    You can use FXFileDialog.getSaveFilename to do it :D
    It is included with getting path method :D.

    ReplyDelete