Class: MathGL::MglFLTK

Inherits:
Object
  • Object
show all
Defined in:
lib/mathgl/doc/libdoc_window_en.rb

Overview

FLTK Window class

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ MglFLTK

Constructor for MglFLTK. Drawing block must be provided. If the number of block argument is one, the argument is an MglGraph object. If the number of block argument is zero, the block is executed in the context of an MglGraph object.



21
22
# File 'lib/mathgl/doc/libdoc_window_en.rb', line 21

def initialize(&block)
end

Instance Method Details

#runObject

Start MglFLTK window.



25
26
# File 'lib/mathgl/doc/libdoc_window_en.rb', line 25

def run
end