Professional Web Applications Themes

Tk on OSX - Ruby

OK, I've finally joined the world of MacOS X. (It's good to be here:) I want to quickly port some existing Ruby/Tk apps. I noticed that there is an Aqua Version of Tk on the Apple downloads site. Would that work, or should I just get the X-Windows version. Phil...

  1. #1

    Default Tk on OSX

    OK, I've finally joined the world of MacOS X. (It's good to be here:)

    I want to quickly port some existing Ruby/Tk apps. I noticed that there
    is an Aqua Version of Tk on the Apple downloads site. Would that work, or
    should I just get the X-Windows version.

    Phil

    Phil Guest

  2. #2

    Default Re: Tk on OSX

    Quoting Phil Tomson <com>:
     

    Wow, I didn't know about the Aqua version, but I unless it turns out to be
    bug-ridden, I would unquestionably use that one instaed of the X-Windows
    version. X-Windows on OS X works well, but they look, well, X-Windows-ish.
    If the Aqua version is anything like the Java version of Cocoa, you'd be
    hard-pressed to tell the difference between a native OS X app and a TCL-
    driven one.

    BTW, where's the link to the Aqua version?

    --
    jason

    :wq
    __________________________________________________ _________
    This mail sent using ToadMail -- Web based e-mail ToadNet


    jason Guest

  3. #3

    Default Re: Tk on OSX (Tk Aqua)

    jason r tibbetts <org> wrote in message news:<toadmail.com>... 
    >
    > Wow, I didn't know about the Aqua version, but I unless it turns out to be
    > bug-ridden, I would unquestionably use that one instaed of the X-Windows
    > version. X-Windows on OS X works well, but they look, well, X-Windows-ish.
    > If the Aqua version is anything like the Java version of Cocoa, you'd be
    > hard-pressed to tell the difference between a native OS X app and a TCL-
    > driven one.[/ref]

    Yeah, I'd much rather use the Aqua version, but I'm wondering if it'll
    work with ruby? Is it just a simple matter of setting the TCL_LIBRARY
    env var? Probably not, since we actually need RUBY_TK_DLL built for
    Ruby. So I suspect that we can't use the 'out-of-the-box' Ruby
    (1.6.8) that comes with OSX. Probably have to compile from source and
    somehow provide the path to the Aqual Tk libs.

    What are the underlying mechanics here? Does configure look for Tk
    libs and then build the Makefile based upon whether or not it finds
    Tk?
     

    http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html

    If you get it working, please let me know.

    ....Of course, I'd rather use RubyCocoa than Tk, but this is for some
    already-existing apps that I don't want to take the time to change.

    Phil
    Phil Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139