Project

gtkbuilder

0.0
No commit activity in last 3 years
No release in over 3 years
Builder::Gtk let's you build Gtk windows using a simple DSL
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Builder::Gtk

A simple DSL for creating Gtk windows.

Example

require 'gtkbuilder'

Gtk.init
window = Builder::Gtk.new do |w|
  w.vbox(true, 0) do |v|
	v.start(true, true, 1) do
	  v.text_view do |t|
        t.set_size_request(200, 200)
      end
	  v.entry
	end
  end
end
window.show_all
Gtk.main