File
locana_bindings.rb
Home
Path: locana/locana_bindings.rb
Modified: Thu Nov 06 23:43:18 GMT-7:00 2003

locana_bindings.rb - this checks for available GUI Bindings and chooses a GUI binding to use

Author: Michael Davis, mdavis@locana.org

Copyright: (C) 2000, 2001, 2002 Seva Inc. and Seva Software - www.sevasoftware.com

Home page: www.locana.org

License: Same as Ruby

The goal of this module it look at all available GUI Bindings and determine which ones are installed and then choose one to run with.

If you want to run with tk explicitly then set the following environment variable:

    export locana_binding=tk

If you want to run with mswin32 explicitly then set the following environment variable:

    export locana_binding=mswin32

Status:

To do:

History:

Required files

locana/debug locana/locana_gui_mswin32 locana/locana_gui_xlib locana/locana_gui_tk
Methods

mswin32_installed?, tk_installed?, xlib_installed?,
Public Instance methods
mswin32_installed?(mswin32_so) src

This method returns true if the mswin32 binding is available, otherwise returns false.

tk_installed?(tk_so) src

This method returns true if the Tk binding is available, otherwise returns false.

xlib_installed?(xlib_so) src

This method returns true if the XLib binding is available, otherwise returns false.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com