Class: MathGL::MglFLTK
- Inherits:
-
Object
- Object
- MathGL::MglFLTK
- Defined in:
- lib/mathgl/doc/libdoc_window_en.rb
Overview
FLTK Window class
Instance Method Summary collapse
-
#initialize(&block) ⇒ MglFLTK
constructor
Constructor for MglFLTK.
-
#run ⇒ Object
Start MglFLTK window.
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
#run ⇒ Object
Start MglFLTK window.
25 26 |
# File 'lib/mathgl/doc/libdoc_window_en.rb', line 25 def run end |