This is kind of an extension to my previous code snippet. This language is really fun to use. I find it pretty easy to use and understand. This will create a window with a button.
require 'fox' include Fox theApp = FXApp.new theMainWindow = FXMainWindow.new(theApp, "Hello, World") FXButton.new(theMainWindow, "Hello, World!") theApp.create theMainWindow.show theApp.run
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.