1 // File : Fl_Window.i 2 3 %feature("docstring") ::Fl_Window 4 """ 5 This widget produces an actual window. This can either be a main window, 6 with a border and title and all the window management controls, or a 7 'subwindow' inside a window. This is controlled by whether or not the 8 window has a parent(). 9 10 Once you create a window, you usually add children Fl_Widget 's to it by 11 using window->add(child) for each new widget. See Fl_Group for more 12 information on how to add and remove children. 13 14 There are several subclasses of Fl_Window that provide double-buffering, 15 overlay, menu, and OpenGL support. 16 17 The window's callback is done if the user tries to close a window using 18 the window manager and Fl.modal() is zero or equal to the window. Fl_Window 19 has a default callback that calls Fl_Window.hide(). 20 """ ; 21 22 %feature("nodirector") Fl_Window::show; 23 24 %{ 25 #include "FL/Fl_Window.H" 26 %} 27 28 %include "macros.i" 29 30 CHANGE_OWNERSHIP(Fl_Window) 31 32 %ignore Fl_Window::hotspot(const Fl_Widget& p, int offscreen = 0); 33 %ignore Fl_Window::show(); 34 %ignore Fl_Window::show(int argc, char** argv); 35 %ignore Fl_Window::combine_mask(); 36 37 %include "WindowShowTypemap.i" 38 39 %include "FL/Fl_Window.H" 40 41 // override method show 42 %extend Fl_Window { 43 MACRO_WINDOW_SHOW 44 } 45 46