Skip to content

Ruby wrapper of classes that maps to GUI controls in SketchUp's UI::WebDialogs

License

Notifications You must be signed in to change notification settings

Blanc-kitchen-developing/SKUI

 
 

Repository files navigation

Work in Progress

This project is at it's early stages. Many changes will happen. Please do not make use of it as of yet. It's available here in order to be able to discuss the project.

To-do

Overview

The goal of this framework is to provide Ruby wrapper classes to manipulate GUI control elements in SketchUp's UI::WebDialog API.

It is forked from the TT::GUI module from the TT_Lib² library.

Hello World

w = SKUI::Window.new
b = SKUI::Button.new( 'Hello' ) { puts 'World! :)' }
b.position( 10, 5 )
w.add_control( b )
w.show

Version compatibility

Once version 1 is release, updates should preserve backwards compatibility within their major version. Breaking changes will be scheduled for next major version release.

License

The library is licensed under the MIT license, but if you fork the project please ensure to change the root namespace so it doesn't conflict with the original work.

Requirements

  • SketchUp 6+
  • Windows: Internet Explorer 8+ *
  • OSX: ?

* RGBa colour values will display as opaque RGB in IE8

Recommended

  • SketchUp 7+
  • Windows: Internet Explorer 9+
  • OSX: ?

Documentation

About

Ruby wrapper of classes that maps to GUI controls in SketchUp's UI::WebDialogs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 54.5%
  • JavaScript 39.3%
  • CSS 5.7%
  • HTML 0.5%