Skip to content

thomthom/SKUI

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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