File: Fl_Single_Window.i

package info (click to toggle)
pyfltk 1.4.4.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,556 kB
  • sloc: python: 7,769; cpp: 356; makefile: 24
file content (37 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* File : Fl_Single_Window.i */
//%module Fl_Single_Window

%feature("docstring") ::Fl_Single_Window
"""
This is the same as Fl_Window. However, it is possible that some 
implementations will provide double-buffered windows by default. This 
subclass can be used to force single-buffering. This may be useful for 
modifying existing programs that use incremental update, or for some 
types of image data, such as a movie flipbook.
""" ;

%feature("nodirector") Fl_Single_Window::show;

%{
#include "FL/Fl_Single_Window.H"
%}

%include "macros.i"

CHANGE_OWNERSHIP(Fl_Single_Window)

%ignore Fl_Single_Window::make_current();


%include "WindowShowTypemap.i"

// override method show
%extend Fl_Single_Window {
	MACRO_WINDOW_SHOW
}

// ignore original declaration
%ignore Fl_Single_Window::show();
%ignore Fl_Single_Window::show(int argc, char** argv);

%include "FL/Fl_Single_Window.H"