Skip to content

k2052/rpreferences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Details

A preferences controller for Macruby based off of DBPrefsWindowController by Dave Batton

Installation

Git clone into lib and require 'lib/rpreferences/rpreferences'. Sorry, no macgem at the moment; I'll do that eventually.

Usage

Create your views in a Preferences.nib and then extend RPreferencesWindowController and implement the setupToolBar method

class PreferencesWinController < RPreferencesWindowController       
  attr_accessor :view1, view2
	
  def setupToolbar()     
  	self.addView(@view1, label:"General")   
  	self.addView(@view2, label:"Bob")
  end
end

Examples

Support

If you found this repo useful please consider supporting me on Gittip or sending me some bitcoin 1csGsaDCFLRPPqugYjX93PEzaStuqXVMu

About

A Preferences controller class for Macruby. Based off of DBPrefsWindowController

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages