# Searched Files -- Now Display in UI

**URL:** <https://www.ruby-forum.com/t/searched-files-now-display-in-ui/86463>\
**Category:** Ruby\
**Created:** [February 22, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/searched-files-now-display-in-ui/86463 "2007-02-22T14:45:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [February 22, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/searched-files-now-display-in-ui/86463/1 "2007-02-22T14:45:33Z")

</div>

Hi All:

I made a small simple program to search for regular expressions  
interactively in inputted particular directory and its sub-  
directories.

Its a simple short program in Ruby (one of my Initial ones).

I direct my output to a log file in the format I want to.

Now that I have an Output of Files, I want a UI for this, so that the  
listed files are displayed right there in a UI Frame that I can click  
directly to open. I don’t want to get the path from my log file and  
then open it.

1. To me, I would guess this would need a UI Library. Which one to  
use?
2. Can we do this with the File Listed there in the UI frame and I can  
directly open the file from there?
3. Platform currently being focussed on: Windows XP. If the UI is  
portable,I guess it would work under Linux also?

Thanks for your help and suggestions.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [February 22, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/searched-files-now-display-in-ui/86463/2 "2007-02-22T15:25:42Z")

</div>

On Feb 22, 8:40 pm, removed\_email\_address@domain.invalid wrote:

> Now that I have an Output of Files, I want a UI for this, so that the
> 
> Thanks for your help and suggestions.

Tk is the most portable one (although it is ugly).  
[http://www.rubycentral.com/book/ext\_tk.html](http://www.rubycentral.com/book/ext_tk.html)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [February 22, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/searched-files-now-display-in-ui/86463/3 "2007-02-22T18:01:19Z")

</div>

> Tk is the most portable one (although it is ugly).[http://www.rubycentral.com/book/ext\_tk.html-](http://www.rubycentral.com/book/ext_tk.html-) Hide quoted text -

Can this be done as per Original Quesion…  
"2. Can we do this with the File Listed there in the UI frame and I  
can  
directly open the file from there? "

Any pointers where I can read about this.  
Is there a cleaner library than Tk?  
Like Swing in Java.
