1 /* File : Fl_Single_Window.i */
2 //%module Fl_Single_Window
3 
4 %feature("docstring") ::Fl_Single_Window
5 """
6 This is the same as Fl_Window. However, it is possible that some
7 implementations will provide double-buffered windows by default. This
8 subclass can be used to force single-buffering. This may be useful for
9 modifying existing programs that use incremental update, or for some
10 types of image data, such as a movie flipbook.
11 """ ;
12 
13 %feature("nodirector") Fl_Single_Window::show;
14 
15 %{
16 #include "FL/Fl_Single_Window.H"
17 %}
18 
19 %include "macros.i"
20 
21 CHANGE_OWNERSHIP(Fl_Single_Window)
22 
23 %ignore Fl_Single_Window::make_current();
24 
25 
26 %include "WindowShowTypemap.i"
27 
28 // override method show
29 %extend Fl_Single_Window {
30 	MACRO_WINDOW_SHOW
31 }
32 
33 // ignore original declaration
34 %ignore Fl_Single_Window::show();
35 %ignore Fl_Single_Window::show(int argc, char** argv);
36 
37 %include "FL/Fl_Single_Window.H"
38